Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001034/0.001034, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001264/0.001264, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8984/0.8984, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7315/0.7315, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.621e-05, allocations: 2.281 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004349/0.004375, allocations: 3.62 MB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.004512, allocations: 139.5 kB / 0.6217 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.004534, allocations: 0 / 0.6217 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.004656, allocations: 7.984 kB / 0.6217 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.00473, allocations: 11.88 kB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.005043, allocations: 87.61 kB / 0.6218 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.005122, allocations: 39.84 kB / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.005161, allocations: 0 / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.00521, allocations: 23.97 kB / 0.6218 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.00528, allocations: 11.92 kB / 0.6219 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.005293, allocations: 4 kB / 0.6219 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.005773, allocations: 203.3 kB / 0.622 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.005819, allocations: 11.92 kB / 0.6221 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.005843, allocations: 15.98 kB / 0.6221 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.005971, allocations: 55.88 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005974, allocations: 3.984 kB / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005976, allocations: 0 / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.005981, allocations: 0 / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003558/0.006337, allocations: 262.3 kB / 0.6224 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.006375, allocations: 9.469 kB / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.006408, allocations: 34.75 kB / 0.6224 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.006439, allocations: 8.891 kB / 0.6224 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.006519, allocations: 101.8 kB / 0.6225 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.006581, allocations: 59.97 kB / 0.6226 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.006589, allocations: 4.375 kB / 0.6226 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006707, allocations: 79.84 kB / 0.6227 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.006715, allocations: 3.938 kB / 0.6227 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.006724, allocations: 0 / 0.6227 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.006741, allocations: 4 kB / 0.6227 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.006777, allocations: 19.92 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.007122, allocations: 227.9 kB / 0.6229 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.007161, allocations: 18.58 kB / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.007174, allocations: 4.859 kB / 0.6229 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.007214, allocations: 16 kB / 0.6229 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.007236, allocations: 38.55 kB / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.007237, allocations: 0 / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.007362, allocations: 33.7 kB / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.00739, allocations: 51.41 kB / 0.6231 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.00746, allocations: 105.8 kB / 0.6232 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.007471, allocations: 25.7 kB / 0.6232 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.007514, allocations: 88.09 kB / 0.6233 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.007519, allocations: 3.953 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.007544, allocations: 17.72 kB / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.007622, allocations: 319 kB / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.007634, allocations: 4 kB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.007651, allocations: 17.66 kB / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.00768, allocations: 25.64 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007682, allocations: 4 kB / 0.6237 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.871e-05/0.007731, allocations: 45.64 kB / 0.6237 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.007744, allocations: 4 kB / 0.6237 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007748, allocations: 0 / 0.6237 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007761, allocations: 12.05 kB / 0.6237 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.007797, allocations: 4 kB / 0.6237 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.007802, allocations: 0 / 0.6237 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.007814, allocations: 3.938 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.007824, allocations: 4 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.637e-05/0.00788, allocations: 114.8 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.007895, allocations: 7.953 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.95e-05/0.007984, allocations: 124.9 kB / 0.624 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.008023, allocations: 176.3 kB / 0.6241 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-05/0.008067, allocations: 184.2 kB / 0.6243 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-05/0.008109, allocations: 180.3 kB / 0.6245 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.008264, allocations: 380.2 kB / 0.6248 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/0.008291, allocations: 104.9 kB / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.008314, allocations: 101 kB / 0.625 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-05/0.008361, allocations: 188.2 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.008403, allocations: 180.3 kB / 0.6254 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-05/0.008443, allocations: 180.3 kB / 0.6256 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.303e-05/0.008486, allocations: 184.2 kB / 0.6257 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.008584, allocations: 311.7 kB / 0.626 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.008613, allocations: 101 kB / 0.6261 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.008666, allocations: 188.2 kB / 0.6263 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.008766, allocations: 116.9 kB / 0.6264 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.008813, allocations: 176.3 kB / 0.6266 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.00884, allocations: 105.2 kB / 0.6267 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.008874, allocations: 87.28 kB / 0.6268 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008874, allocations: 0 / 0.6268 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001702/0.009044, allocations: 19.92 kB / 0.6268 GB, free: 4.355 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003492/0.009393, allocations: 0.8204 MB / 0.6276 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.394e-05/0.009457, allocations: 19.92 kB / 0.6276 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009458, allocations: 0 / 0.6276 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.009459, allocations: 0 / 0.6276 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.009792, allocations: 459.7 kB / 0.628 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.01056, allocations: 1.324 MB / 0.6293 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.0106, allocations: 63.28 kB / 0.6294 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.01063, allocations: 12.06 kB / 0.6294 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.01066, allocations: 12.48 kB / 0.6294 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.01066, allocations: 4 kB / 0.6294 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02546, allocations: 2.169 MB / 0.6315 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.861, allocations: 3.25 kB / 0.6315 GB, free: 15.5 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.729118744842708] Failed to read output from testmodel.py, exit status != 0: 6.941759846173227 6.952288296 6.944355142 Calling exit ...