Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8998/0.8998, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7386/0.7386, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.814e-05, allocations: 7.5 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01028/0.0103, allocations: 13.74 MB / 0.6314 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003052/0.01335, allocations: 3.508 MB / 0.6349 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.01364, allocations: 19.81 kB / 0.6349 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.01417, allocations: 174.6 kB / 0.6351 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008237/0.015, allocations: 421.7 kB / 0.6355 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.01572, allocations: 393.1 kB / 0.6358 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.01634, allocations: 0.7801 MB / 0.6366 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.01666, allocations: 236.6 kB / 0.6368 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.0173, allocations: 0.5643 MB / 0.6374 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.01749, allocations: 187.4 kB / 0.6376 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.01752, allocations: 20 kB / 0.6376 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.01795, allocations: 207.4 kB / 0.6378 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.01802, allocations: 67.75 kB / 0.6378 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.0181, allocations: 103.8 kB / 0.6379 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.01855, allocations: 438.6 kB / 0.6384 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01856, allocations: 0 / 0.6384 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.01856, allocations: 0 / 0.6384 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.01857, allocations: 0 / 0.6384 GB, free: 8.84 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007111/0.01928, allocations: 0.5284 MB / 0.6389 GB, free: 8.281 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.01932, allocations: 17.47 kB / 0.6389 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.01937, allocations: 58.72 kB / 0.6389 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.01942, allocations: 32.75 kB / 0.639 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.0198, allocations: 273 kB / 0.6392 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.01981, allocations: 16.81 kB / 0.6392 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.01984, allocations: 28.38 kB / 0.6393 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.0202, allocations: 306.2 kB / 0.6396 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.02021, allocations: 4.125 kB / 0.6396 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.02022, allocations: 7.938 kB / 0.6396 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.02023, allocations: 8 kB / 0.6396 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.02049, allocations: 188.5 kB / 0.6398 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.02125, allocations: 0.6961 MB / 0.6404 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.02144, allocations: 141.1 kB / 0.6406 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.02155, allocations: 81.66 kB / 0.6407 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.02167, allocations: 47.97 kB / 0.6407 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.02169, allocations: 34.5 kB / 0.6407 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.0217, allocations: 0 / 0.6407 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004421/0.02214, allocations: 273.4 kB / 0.641 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.02217, allocations: 77.11 kB / 0.6411 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.02236, allocations: 268.2 kB / 0.6413 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.02237, allocations: 29.7 kB / 0.6414 GB, free: 5.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.02246, allocations: 172.3 kB / 0.6415 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.02249, allocations: 43.64 kB / 0.6416 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.02253, allocations: 33.7 kB / 0.6416 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.02263, allocations: 338.8 kB / 0.6419 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.02273, allocations: 55.95 kB / 0.642 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.02292, allocations: 276.5 kB / 0.6422 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.02315, allocations: 172.1 kB / 0.6424 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02316, allocations: 0 / 0.6424 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002852/0.02344, allocations: 213.3 kB / 0.6426 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.02346, allocations: 7.938 kB / 0.6426 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.02346, allocations: 0 / 0.6426 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.02348, allocations: 8.469 kB / 0.6426 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.02364, allocations: 51.94 kB / 0.6427 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.02365, allocations: 3.984 kB / 0.6427 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.02374, allocations: 35.86 kB / 0.6427 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.02376, allocations: 11.94 kB / 0.6427 GB, free: 4.074 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.02387, allocations: 142.8 kB / 0.6429 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.02391, allocations: 31.8 kB / 0.6429 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.02415, allocations: 196 kB / 0.6431 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.02416, allocations: 4 kB / 0.6431 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.02416, allocations: 0 / 0.6431 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02417, allocations: 3.984 kB / 0.6431 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.0247, allocations: 0.5554 MB / 0.6436 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0247, allocations: 3.938 kB / 0.6436 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.02482, allocations: 60 kB / 0.6437 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02482, allocations: 4.031 kB / 0.6437 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.02483, allocations: 4 kB / 0.6437 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.02484, allocations: 4 kB / 0.6437 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.02484, allocations: 0 / 0.6437 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.02519, allocations: 448 kB / 0.6441 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.02524, allocations: 47.78 kB / 0.6442 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.02527, allocations: 11.98 kB / 0.6442 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.02537, allocations: 11.98 kB / 0.6442 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.02542, allocations: 23.91 kB / 0.6442 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.02543, allocations: 4 kB / 0.6442 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001152/0.02554, allocations: 195.1 kB / 0.6444 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02554, allocations: 0 / 0.6444 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004397/0.02598, allocations: 91.75 kB / 0.6445 GB, free: 2.164 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007376/0.02672, allocations: 1.054 MB / 0.6455 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.02701, allocations: 171.8 kB / 0.6457 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02701, allocations: 0 / 0.6457 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.02715, allocations: 107.8 kB / 0.6458 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.02765, allocations: 124.3 kB / 0.6459 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.02982, allocations: 2.628 MB / 0.6485 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.02994, allocations: 178.6 kB / 0.6486 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.03004, allocations: 52.98 kB / 0.6487 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.03013, allocations: 88.47 kB / 0.6488 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.03013, allocations: 0 / 0.6488 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.05147, allocations: 9.203 MB / 0.6578 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.316, allocations: 0.6094 kB / 0.6578 GB, free: 4.664 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.087690115906298] Failed to read output from testmodel.py, exit status != 0: 7.400043440982699 7.409204546 7.388934057 Calling exit ...