Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2344/0.2344, allocations: 46.93 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 87.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3469, allocations: 66.07 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0183/0.3652, allocations: 14.05 MB / 0.5753 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03344/0.3987, allocations: 26.77 MB / 0.6014 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.3989, allocations: 0 / 0.6014 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.3993, allocations: 103.4 kB / 0.6015 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0232/0.4225, allocations: 8.563 MB / 0.6099 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.4234, allocations: 349.4 kB / 0.6102 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004138/0.4276, allocations: 2.013 MB / 0.6122 GB, free: 296 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/0.4276, allocations: 16.58 kB / 0.6122 GB, free: 276 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.4281, allocations: 274.9 kB / 0.6124 GB, free: 0 / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006324/0.4344, allocations: 3.27 MB / 0.6156 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.4345, allocations: 12 kB / 0.6156 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/0.4569, allocations: 11.66 MB / 0.627 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4571, allocations: 47.77 kB / 0.6271 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.4573, allocations: 143.3 kB / 0.6272 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.475, allocations: 6.774 MB / 0.6338 GB, free: 10.01 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.475, allocations: 0 / 0.6338 GB, free: 10.01 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.475, allocations: 0 / 0.6338 GB, free: 10.01 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.475, allocations: 0 / 0.6338 GB, free: 10.01 MB / 478.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.005575/0.4806, allocations: 1.595 MB / 0.6354 GB, free: 8.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4807, allocations: 8.031 kB / 0.6354 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.158e-05/0.4807, allocations: 70.72 kB / 0.6355 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.4823, allocations: 192.5 kB / 0.6356 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.4827, allocations: 214 kB / 0.6359 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4827, allocations: 25.03 kB / 0.6359 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.4828, allocations: 35.94 kB / 0.6359 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.4849, allocations: 0.7635 MB / 0.6367 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4849, allocations: 4 kB / 0.6367 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.485, allocations: 16 kB / 0.6367 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.485, allocations: 8 kB / 0.6367 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.4871, allocations: 0.818 MB / 0.6375 GB, free: 6.156 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.003377/0.4905, allocations: 2.425 MB / 0.6398 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.4917, allocations: 348.5 kB / 0.6402 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.4918, allocations: 68.83 kB / 0.6402 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6508/1.143, allocations: 99.53 MB / 0.7374 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/1.144, allocations: 453.5 kB / 0.7379 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/1.144, allocations: 1.312 kB / 0.7379 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004191/1.148, allocations: 1.142 MB / 0.739 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.148, allocations: 377.8 kB / 0.7394 GB, free: 133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/1.149, allocations: 181.6 kB / 0.7395 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.149, allocations: 33.52 kB / 0.7396 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/1.149, allocations: 192.9 kB / 0.7397 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/1.149, allocations: 122.1 kB / 0.7399 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/1.149, allocations: 122 kB / 0.74 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/1.149, allocations: 338.8 kB / 0.7403 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/1.149, allocations: 77.42 kB / 0.7404 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/1.15, allocations: 346.5 kB / 0.7407 GB, free: 132 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/1.15, allocations: 485.7 kB / 0.7412 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.15, allocations: 5.984 kB / 0.7412 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007824/1.151, allocations: 462.3 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.151, allocations: 10.38 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.151, allocations: 11.3 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/1.151, allocations: 11.41 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.153, allocations: 212.9 kB / 0.7419 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000438/1.153, allocations: 1.192 MB / 0.743 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/1.153, allocations: 26.5 kB / 0.743 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/1.153, allocations: 43.27 kB / 0.7431 GB, free: 130.5 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.0001712/1.154, allocations: 160.1 kB / 0.7432 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/1.154, allocations: 33.89 kB / 0.7433 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/1.156, allocations: 2.989 MB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/1.156, allocations: 22.48 kB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.156, allocations: 4.406 kB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.156, allocations: 10.62 kB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/1.157, allocations: 0.9702 MB / 0.7472 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.157, allocations: 2.969 kB / 0.7472 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/1.158, allocations: 99.77 kB / 0.7473 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/1.158, allocations: 158.5 kB / 0.7474 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.158, allocations: 11 kB / 0.7474 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003141/1.158, allocations: 0.6509 MB / 0.7481 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.158, allocations: 5.906 kB / 0.7481 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/1.159, allocations: 0.9932 MB / 0.749 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/1.159, allocations: 52.97 kB / 0.7491 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.16, allocations: 95.55 kB / 0.7492 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/1.16, allocations: 18.81 kB / 0.7492 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/1.16, allocations: 34.94 kB / 0.7492 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.16, allocations: 17.17 kB / 0.7493 GB, free: 129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004412/1.16, allocations: 475.5 kB / 0.7497 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.16, allocations: 0 / 0.7497 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00446/1.165, allocations: 1.638 MB / 0.7513 GB, free: 128.8 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.007997/1.173, allocations: 3.183 MB / 0.7544 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.174, allocations: 0.5374 MB / 0.7549 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.174, allocations: 2.781 kB / 0.7549 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/1.175, allocations: 301.5 kB / 0.7552 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/1.176, allocations: 120.7 kB / 0.7553 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7044/1.88, allocations: 353.3 MB / 1.1 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.88, allocations: 0.9781 MB / 1.101 GB, free: 157.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005911/1.881, allocations: 0.5109 MB / 1.102 GB, free: 157.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/1.881, allocations: 319.3 kB / 1.102 GB, free: 157 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/1.881, allocations: 0 / 1.102 GB, free: 157 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09568/1.977, allocations: 67.13 MB / 1.168 GB, free: 90.01 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/18.89, allocations: 5.25 kB / 1.168 GB, free: 90 MB / 0.6544 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.90589316887781] 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.03741112491116 19.04560266 18.568238017 Calling exit ...