Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007948/0.0007948, 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.0008489/0.0008489, allocations: 169.9 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.9421/0.9421, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7445/0.7445, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.6181 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.213e-05, allocations: 5.234 kB / 0.6181 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004244/0.004266, allocations: 3.625 MB / 0.6216 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.004414, allocations: 143.4 kB / 0.6217 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.004438, allocations: 0 / 0.6217 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.004549, allocations: 3.938 kB / 0.6217 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.004626, allocations: 15.91 kB / 0.6218 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.004975, allocations: 92.69 kB / 0.6219 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.005057, allocations: 27.86 kB / 0.6219 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.005105, allocations: 4 kB / 0.6219 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.005166, allocations: 23.91 kB / 0.6219 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.005247, allocations: 11.98 kB / 0.6219 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.005261, allocations: 0 / 0.6219 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005777/0.005838, allocations: 211.2 kB / 0.6221 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.005889, allocations: 7.984 kB / 0.6221 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.005914, allocations: 15.98 kB / 0.6221 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.006059, allocations: 59.81 kB / 0.6222 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.006063, allocations: 0 / 0.6222 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.006065, allocations: 0 / 0.6222 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.00607, allocations: 0 / 0.6222 GB, free: 8.363 MB / 0.5417 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.000357/0.006427, allocations: 264.5 kB / 0.6224 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.006475, allocations: 12.03 kB / 0.6225 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.006504, allocations: 30.75 kB / 0.6225 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.006546, allocations: 4.938 kB / 0.6225 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.006643, allocations: 109.8 kB / 0.6226 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.006726, allocations: 55.97 kB / 0.6227 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.006736, allocations: 4.312 kB / 0.6227 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.006875, allocations: 71.89 kB / 0.6227 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.006883, allocations: 3.938 kB / 0.6227 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.006896, allocations: 4 kB / 0.6227 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.006914, allocations: 0 / 0.6227 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.006953, allocations: 19.97 kB / 0.6228 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.007314, allocations: 231.9 kB / 0.623 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.007351, allocations: 14.58 kB / 0.623 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.007363, allocations: 8.859 kB / 0.623 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.007405, allocations: 16 kB / 0.623 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.007424, allocations: 34.5 kB / 0.623 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.007425, allocations: 0 / 0.623 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.007562, allocations: 37.69 kB / 0.6231 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.007591, allocations: 51.41 kB / 0.6231 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.007661, allocations: 101.9 kB / 0.6232 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007674, allocations: 25.7 kB / 0.6232 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.007716, allocations: 88.08 kB / 0.6233 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.007722, allocations: 3.953 kB / 0.6233 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.007749, allocations: 17.84 kB / 0.6234 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.007838, allocations: 322.8 kB / 0.6237 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.007854, allocations: 3.984 kB / 0.6237 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.007878, allocations: 17.72 kB / 0.6237 GB, free: 6.633 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.007908, allocations: 21.66 kB / 0.6237 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00791, allocations: 0 / 0.6237 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.643e-05/0.007977, allocations: 49.62 kB / 0.6238 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.007995, allocations: 8 kB / 0.6238 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.008001, allocations: 0 / 0.6238 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.008017, allocations: 4.062 kB / 0.6238 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.00808, allocations: 4 kB / 0.6238 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.00809, allocations: 7.984 kB / 0.6238 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.008108, allocations: 0 / 0.6238 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.008121, allocations: 0 / 0.6238 GB, free: 6.527 MB / 0.5417 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 7.659e-05/0.008197, allocations: 122.8 kB / 0.6239 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.008212, allocations: 0 / 0.6239 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/0.008688, allocations: 128.8 kB / 0.624 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/0.008739, allocations: 180.3 kB / 0.6242 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.065e-05/0.00879, allocations: 188.2 kB / 0.6244 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.871e-05/0.008839, allocations: 176.3 kB / 0.6245 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.009023, allocations: 380.2 kB / 0.6249 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/0.009053, allocations: 108.9 kB / 0.625 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.009082, allocations: 105 kB / 0.6251 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.135e-05/0.009133, allocations: 180.2 kB / 0.6253 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.009188, allocations: 180.2 kB / 0.6254 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-05/0.009243, allocations: 184.2 kB / 0.6256 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.511e-05/0.009288, allocations: 180.2 kB / 0.6258 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.009394, allocations: 311.7 kB / 0.6261 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.009425, allocations: 108.9 kB / 0.6262 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.009479, allocations: 184.2 kB / 0.6264 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.009587, allocations: 109 kB / 0.6265 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.009637, allocations: 188.2 kB / 0.6267 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.00966, allocations: 104.9 kB / 0.6268 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.009697, allocations: 79.28 kB / 0.6268 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.009697, allocations: 0 / 0.6268 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000174/0.009871, allocations: 15.94 kB / 0.6268 GB, free: 3.188 MB / 0.5417 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.0003481/0.01022, allocations: 0.8282 MB / 0.6277 GB, free: 2.332 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.01029, allocations: 11.94 kB / 0.6277 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01029, allocations: 0 / 0.6277 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.01029, allocations: 4 kB / 0.6277 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.01066, allocations: 466 kB / 0.6281 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.01161, allocations: 1.324 MB / 0.6294 GB, free: 456 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.01167, allocations: 59.34 kB / 0.6295 GB, free: 376 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.218e-05/0.01172, allocations: 12.55 kB / 0.6295 GB, free: 364 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.01176, allocations: 8.5 kB / 0.6295 GB, free: 356 kB / 0.5417 GB Notification: Performance of SimCode: time 1.613e-06/0.01177, allocations: 0 / 0.6295 GB, free: 356 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.02995, allocations: 2.168 MB / 0.6316 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.117, allocations: 2.25 kB / 0.6316 GB, free: 14.34 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.975321553647518] Failed to read output from testmodel.py, exit status != 0: 7.197669303975999 7.205542676 7.197800943 Calling exit ...