Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.001109/0.001109, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001209/0.001209, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9179/0.9179, 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.758/0.758, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.831e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01367/0.01369, allocations: 11.94 MB / 0.6298 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.01568, allocations: 2.418 MB / 0.6321 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.01576, allocations: 0 / 0.6321 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.01601, allocations: 43.69 kB / 0.6322 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.01624, allocations: 111.2 kB / 0.6323 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.01717, allocations: 0.5348 MB / 0.6328 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.0174, allocations: 247.7 kB / 0.633 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.01744, allocations: 5.812 kB / 0.633 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005003/0.02245, allocations: 3.631 MB / 0.6366 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.02258, allocations: 71.78 kB / 0.6366 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.0226, allocations: 8 kB / 0.6367 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.02411, allocations: 1.052 MB / 0.6377 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.02419, allocations: 39.89 kB / 0.6377 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.02425, allocations: 67.81 kB / 0.6378 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.0248, allocations: 382.9 kB / 0.6382 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.02481, allocations: 0 / 0.6382 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.02481, allocations: 0 / 0.6382 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.02481, allocations: 4 kB / 0.6382 GB, free: 9.035 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006534/0.02547, allocations: 445.4 kB / 0.6386 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.02551, allocations: 13.47 kB / 0.6386 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.02555, allocations: 46.73 kB / 0.6386 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.02566, allocations: 24.84 kB / 0.6387 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.02587, allocations: 157.5 kB / 0.6388 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.02589, allocations: 16.7 kB / 0.6388 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.0259, allocations: 12.38 kB / 0.6388 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.02624, allocations: 492.9 kB / 0.6393 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.02625, allocations: 4.188 kB / 0.6393 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.02626, allocations: 11.94 kB / 0.6393 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.02628, allocations: 8 kB / 0.6393 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.0266, allocations: 423.3 kB / 0.6397 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007655/0.02736, allocations: 0.8203 MB / 0.6405 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.02761, allocations: 150.8 kB / 0.6407 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.02768, allocations: 52.84 kB / 0.6407 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/0.02814, allocations: 459.9 kB / 0.6412 GB, free: 5.727 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.02817, allocations: 38.56 kB / 0.6412 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.02817, allocations: 0 / 0.6412 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002452/0.02841, allocations: 152.8 kB / 0.6414 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.02844, allocations: 55.41 kB / 0.6414 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.02855, allocations: 173.2 kB / 0.6416 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.02857, allocations: 37.69 kB / 0.6416 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.02863, allocations: 144.1 kB / 0.6417 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.02866, allocations: 55.53 kB / 0.6418 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.02871, allocations: 49.7 kB / 0.6418 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.02879, allocations: 326.8 kB / 0.6422 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.02883, allocations: 39.97 kB / 0.6422 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.02892, allocations: 141.6 kB / 0.6423 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.02908, allocations: 193.5 kB / 0.6425 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02909, allocations: 0 / 0.6425 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002172/0.0293, allocations: 227.8 kB / 0.6427 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.02932, allocations: 4 kB / 0.6427 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02932, allocations: 4 kB / 0.6427 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.02934, allocations: 4 kB / 0.6427 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.02945, allocations: 59.92 kB / 0.6428 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.02946, allocations: 8.453 kB / 0.6428 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.02954, allocations: 35.72 kB / 0.6428 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.02955, allocations: 16 kB / 0.6429 GB, free: 3.832 MB / 0.6042 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 7.875e-05/0.02963, allocations: 129.8 kB / 0.643 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.02966, allocations: 19.89 kB / 0.643 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.02986, allocations: 162.8 kB / 0.6432 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.02987, allocations: 0 / 0.6432 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.02988, allocations: 4 kB / 0.6432 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02988, allocations: 7.938 kB / 0.6432 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.03003, allocations: 180.6 kB / 0.6433 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.03003, allocations: 0 / 0.6433 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.03009, allocations: 31.98 kB / 0.6434 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.03009, allocations: 0 / 0.6434 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.0301, allocations: 4 kB / 0.6434 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.0301, allocations: 4 kB / 0.6434 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0301, allocations: 0 / 0.6434 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.03026, allocations: 219.2 kB / 0.6436 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.03031, allocations: 39.86 kB / 0.6436 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.03032, allocations: 0 / 0.6436 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.03042, allocations: 19.92 kB / 0.6436 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.03044, allocations: 7.984 kB / 0.6437 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.03046, allocations: 23.92 kB / 0.6437 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.03052, allocations: 124.2 kB / 0.6438 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.03052, allocations: 0 / 0.6438 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002618/0.03078, allocations: 75.81 kB / 0.6439 GB, free: 2.734 MB / 0.6042 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.0005158/0.0313, allocations: 0.8424 MB / 0.6447 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.03148, allocations: 119.7 kB / 0.6448 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03148, allocations: 0 / 0.6448 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-05/0.03152, allocations: 39.91 kB / 0.6448 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.0318, allocations: 64.81 kB / 0.6449 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.0333, allocations: 2.017 MB / 0.6469 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.583e-05/0.03337, allocations: 102.9 kB / 0.647 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.03348, allocations: 59.97 kB / 0.647 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.03354, allocations: 44.48 kB / 0.6471 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.03354, allocations: 0 / 0.6471 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.05242, allocations: 6.459 MB / 0.6534 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.287, allocations: 3.484 kB / 0.6534 GB, free: 9.02 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.172605033032596] Failed to read output from testmodel.py, exit status != 0: 7.368954570032656 7.377652188 7.350951041 Calling exit ...