Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.0007892/0.0007892, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008261/0.0008261, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9003/0.9003, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7413/0.7413, allocations: 154.6 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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.6181 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.908e-05, allocations: 5.234 kB / 0.6181 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005316/0.005345, allocations: 4.224 MB / 0.6222 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.007643, allocations: 2.449 MB / 0.6246 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.007724, allocations: 4 kB / 0.6246 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.008071, allocations: 47.62 kB / 0.6246 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.008359, allocations: 103.3 kB / 0.6247 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.009331, allocations: 0.5126 MB / 0.6252 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.009543, allocations: 247.8 kB / 0.6255 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.009591, allocations: 5.812 kB / 0.6255 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.0104, allocations: 0.5211 MB / 0.626 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.0105, allocations: 79.77 kB / 0.626 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.01052, allocations: 8 kB / 0.6261 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.01107, allocations: 486.8 kB / 0.6265 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.01113, allocations: 39.83 kB / 0.6266 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.01119, allocations: 59.83 kB / 0.6266 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.01174, allocations: 374.9 kB / 0.627 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01174, allocations: 4 kB / 0.627 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.873e-06/0.01174, allocations: 7.938 kB / 0.627 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.01175, allocations: 0 / 0.627 GB, free: 3.406 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000619/0.01237, allocations: 425.5 kB / 0.6274 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.01241, allocations: 13.47 kB / 0.6274 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.01246, allocations: 50.73 kB / 0.6275 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.984e-05/0.01256, allocations: 28.83 kB / 0.6275 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.0128, allocations: 161.5 kB / 0.6276 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.01282, allocations: 16.7 kB / 0.6277 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.01283, allocations: 12.38 kB / 0.6277 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.01322, allocations: 472 kB / 0.6281 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01323, allocations: 192 / 0.6281 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.01325, allocations: 11.94 kB / 0.6281 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.01327, allocations: 8 kB / 0.6281 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.01367, allocations: 427.5 kB / 0.6285 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.01446, allocations: 0.8596 MB / 0.6294 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.01471, allocations: 155.4 kB / 0.6295 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.01478, allocations: 48.89 kB / 0.6296 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.01529, allocations: 451.9 kB / 0.63 GB, free: 88 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01531, allocations: 38.56 kB / 0.63 GB, free: 40 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.01531, allocations: 0 / 0.63 GB, free: 40 kB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0006754/0.01599, allocations: 145.4 kB / 0.6302 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.01603, allocations: 55.41 kB / 0.6302 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.01619, allocations: 177.4 kB / 0.6304 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.01622, allocations: 33.69 kB / 0.6304 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.0163, allocations: 144.2 kB / 0.6306 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.01634, allocations: 59.53 kB / 0.6306 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.01641, allocations: 49.66 kB / 0.6307 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01652, allocations: 322.8 kB / 0.631 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.01659, allocations: 39.97 kB / 0.631 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.01672, allocations: 137.7 kB / 0.6312 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.01694, allocations: 199.9 kB / 0.6313 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.01695, allocations: 0 / 0.6313 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003341/0.01728, allocations: 221.2 kB / 0.6316 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.0173, allocations: 4 kB / 0.6316 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.0173, allocations: 4 kB / 0.6316 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.01732, allocations: 4 kB / 0.6316 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.0175, allocations: 60.39 kB / 0.6316 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.01751, allocations: 11.92 kB / 0.6316 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01762, allocations: 43.66 kB / 0.6317 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.01764, allocations: 12 kB / 0.6317 GB, free: 14.19 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001043/0.01774, allocations: 129.8 kB / 0.6318 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.01779, allocations: 15.91 kB / 0.6318 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.01809, allocations: 161 kB / 0.632 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.0181, allocations: 3.938 kB / 0.632 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01811, allocations: 0 / 0.632 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.01812, allocations: 3.938 kB / 0.632 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.01835, allocations: 184.6 kB / 0.6322 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01835, allocations: 4 kB / 0.6322 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.01845, allocations: 31.98 kB / 0.6322 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01845, allocations: 0 / 0.6322 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.01847, allocations: 4 kB / 0.6322 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01847, allocations: 3.938 kB / 0.6322 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01847, allocations: 7.938 kB / 0.6322 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.01866, allocations: 215.3 kB / 0.6324 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.0187, allocations: 31.81 kB / 0.6324 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.01872, allocations: 11.98 kB / 0.6325 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.01883, allocations: 11.98 kB / 0.6325 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.01885, allocations: 15.98 kB / 0.6325 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.01887, allocations: 7.938 kB / 0.6325 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.01893, allocations: 122.3 kB / 0.6326 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.01893, allocations: 0 / 0.6326 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002619/0.01919, allocations: 79.86 kB / 0.6327 GB, free: 13.1 MB / 0.5573 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005156/0.01971, allocations: 0.8371 MB / 0.6335 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.01987, allocations: 122.2 kB / 0.6336 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01988, allocations: 0 / 0.6336 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.01992, allocations: 43.92 kB / 0.6337 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.02022, allocations: 52.78 kB / 0.6337 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.02176, allocations: 2.013 MB / 0.6357 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.559e-05/0.02183, allocations: 99.27 kB / 0.6358 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.02193, allocations: 41.81 kB / 0.6358 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.02199, allocations: 48.48 kB / 0.6359 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.02199, allocations: 0 / 0.6359 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.0418, allocations: 6.153 MB / 0.6419 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.356, allocations: 6.328 kB / 0.6419 GB, free: 3.711 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties_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_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.511172167956829] Failed to read output from testmodel.py, exit status != 0: 7.439584967680275 7.768385175 7.752829912 Calling exit ...