Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.001815/0.001815, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002208/0.002208, allocations: 214.8 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2725/0.2725, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003361/0.003361, allocations: 63.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3744, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01794/0.3923, allocations: 12.72 MB / 0.5694 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03119/0.4235, allocations: 23.37 MB / 0.5923 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.4237, allocations: 4 kB / 0.5923 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.4241, allocations: 83.42 kB / 0.5923 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02486/0.449, allocations: 8.503 MB / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.45, allocations: 350.2 kB / 0.601 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004322/0.4543, allocations: 2.002 MB / 0.6029 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.4544, allocations: 16.58 kB / 0.6029 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/0.4551, allocations: 266.9 kB / 0.6032 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006552/0.4616, allocations: 3.262 MB / 0.6064 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.4617, allocations: 12 kB / 0.6064 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/0.4844, allocations: 11.08 MB / 0.6172 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.4845, allocations: 47.77 kB / 0.6173 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.4847, allocations: 115.5 kB / 0.6174 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.5036, allocations: 6.77 MB / 0.624 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.5037, allocations: 0 / 0.624 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5037, allocations: 0 / 0.624 GB, free: 2.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5037, allocations: 4 kB / 0.624 GB, free: 2.691 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005353/0.509, allocations: 1.583 MB / 0.6255 GB, free: 1.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5091, allocations: 8.031 kB / 0.6255 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.224e-05/0.5092, allocations: 70.72 kB / 0.6256 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5106, allocations: 196.5 kB / 0.6258 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.511, allocations: 210.1 kB / 0.626 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.511, allocations: 21.03 kB / 0.626 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.511, allocations: 35.94 kB / 0.6261 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.5132, allocations: 0.8067 MB / 0.6268 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5132, allocations: 4 kB / 0.6268 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.5133, allocations: 16 kB / 0.6269 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5133, allocations: 8 kB / 0.6269 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.5154, allocations: 0.8141 MB / 0.6277 GB, free: 14.8 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.5189, allocations: 2.128 MB / 0.6297 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.5201, allocations: 348.5 kB / 0.6301 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.5203, allocations: 64.83 kB / 0.6301 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4004/0.9207, allocations: 99.98 MB / 0.7278 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.922, allocations: 454.8 kB / 0.7282 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/0.9221, allocations: 0 / 0.7282 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003936/0.926, allocations: 1.146 MB / 0.7293 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.9262, allocations: 375.8 kB / 0.7297 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.9264, allocations: 186.2 kB / 0.7299 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.9265, allocations: 33.7 kB / 0.7299 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.9266, allocations: 188.1 kB / 0.7301 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.9267, allocations: 123 kB / 0.7302 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.9269, allocations: 122.1 kB / 0.7303 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.927, allocations: 334.8 kB / 0.7306 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.9272, allocations: 80.94 kB / 0.7307 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.9276, allocations: 345 kB / 0.731 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.9283, allocations: 487.5 kB / 0.7315 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9283, allocations: 4 kB / 0.7315 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009266/0.9293, allocations: 473.4 kB / 0.7319 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9293, allocations: 8.219 kB / 0.732 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.9293, allocations: 12 kB / 0.732 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.9293, allocations: 19.94 kB / 0.732 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9308, allocations: 211.7 kB / 0.7322 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008011/0.9316, allocations: 1.184 MB / 0.7333 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.9319, allocations: 23.95 kB / 0.7334 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.932, allocations: 43.98 kB / 0.7334 GB, free: 1.773 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.9322, allocations: 165.8 kB / 0.7336 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.9323, allocations: 31.86 kB / 0.7336 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3099/1.242, allocations: 3.047 MB / 0.7366 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/1.242, allocations: 23.11 kB / 0.7366 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.242, allocations: 3.406 kB / 0.7366 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.242, allocations: 9.281 kB / 0.7366 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/1.243, allocations: 0.9461 MB / 0.7375 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.244, allocations: 3.156 kB / 0.7375 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/1.244, allocations: 99.59 kB / 0.7376 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/1.244, allocations: 160.7 kB / 0.7378 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/1.244, allocations: 13.66 kB / 0.7378 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002912/1.245, allocations: 0.6528 MB / 0.7384 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.245, allocations: 3.969 kB / 0.7384 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/1.245, allocations: 0.9905 MB / 0.7394 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/1.246, allocations: 54 kB / 0.7395 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.246, allocations: 96.33 kB / 0.7395 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/1.246, allocations: 23.09 kB / 0.7396 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/1.246, allocations: 38.45 kB / 0.7396 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.246, allocations: 13.7 kB / 0.7396 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004368/1.246, allocations: 473.7 kB / 0.7401 GB, free: 169 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.246, allocations: 0 / 0.7401 GB, free: 169 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003812/1.25, allocations: 1.639 MB / 0.7417 GB, free: 168.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006403/1.257, allocations: 3.181 MB / 0.7448 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.258, allocations: 0.5407 MB / 0.7453 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.258, allocations: 1.812 kB / 0.7453 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.258, allocations: 299.4 kB / 0.7456 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/1.259, allocations: 132.6 kB / 0.7457 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7189/1.978, allocations: 353.3 MB / 1.091 GB, free: 116.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/1.978, allocations: 392 kB / 1.091 GB, free: 115.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006534/1.979, allocations: 0.506 MB / 1.092 GB, free: 115.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/1.979, allocations: 315.3 kB / 1.092 GB, free: 114.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.402e-06/1.979, allocations: 0 / 1.092 GB, free: 114.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/2.086, allocations: 67.38 MB / 1.158 GB, free: 47.81 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/19.1, allocations: 10.66 kB / 1.158 GB, free: 47.8 MB / 0.6231 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.508002399932593] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 19.270414089318365 19.285573873 18.778499116 Calling exit ...