Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008817/0.0008817, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008503/0.0008503, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8144/0.8144, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1233/0.1233, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.139e-05, allocations: 10.16 kB / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01297/0.01299, allocations: 12.61 MB / 419.5 MB, free: 5.535 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.0318, allocations: 23.35 MB / 442.8 MB, free: 14.1 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.03197, allocations: 4 kB / 442.9 MB, free: 14.1 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.03233, allocations: 91.36 kB / 442.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01701/0.04933, allocations: 8.603 MB / 451.5 MB, free: 5.367 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.05007, allocations: 358.6 kB / 451.9 MB, free: 5.016 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.05281, allocations: 2.029 MB / 453.9 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.05287, allocations: 16.59 kB / 453.9 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.05327, allocations: 306.8 kB / 454.2 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/0.05712, allocations: 3.25 MB / 457.5 MB, free: 15.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.05718, allocations: 8 kB / 457.5 MB, free: 15.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01561/0.07279, allocations: 11.07 MB / 468.6 MB, free: 4.242 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.07289, allocations: 55.69 kB / 468.6 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.07308, allocations: 103.8 kB / 468.7 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1859/0.2589, allocations: 8.551 MB / 477.3 MB, free: 63.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2589, allocations: 3.562 kB / 477.3 MB, free: 63.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.259, allocations: 3.25 kB / 477.3 MB, free: 63.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.259, allocations: 0 / 477.3 MB, free: 63.38 MB / 442.7 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.004308/0.2633, allocations: 1.575 MB / 478.9 MB, free: 62.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2633, allocations: 10.12 kB / 478.9 MB, free: 62.56 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2634, allocations: 69.34 kB / 478.9 MB, free: 62.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.2643, allocations: 189.4 kB / 479.1 MB, free: 62.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.2647, allocations: 213.8 kB / 479.3 MB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.2647, allocations: 22.84 kB / 479.3 MB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.2648, allocations: 32.27 kB / 479.4 MB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.2662, allocations: 0.8091 MB / 480.2 MB, free: 62.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2662, allocations: 6.906 kB / 480.2 MB, free: 62.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.2662, allocations: 15.56 kB / 480.2 MB, free: 62.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2663, allocations: 9.062 kB / 480.2 MB, free: 62.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.2674, allocations: 0.8065 MB / 481 MB, free: 62.15 MB / 442.7 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.001929/0.2693, allocations: 2.137 MB / 483.2 MB, free: 60.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.27, allocations: 342.2 kB / 483.5 MB, free: 60.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.2701, allocations: 63.36 kB / 483.6 MB, free: 60.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1733/0.4434, allocations: 99.18 MB / 0.5691 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/0.4446, allocations: 445.2 kB / 0.5695 GB, free: 14.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 3.196e-06/0.4446, allocations: 0 / 0.5695 GB, free: 14.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.003502/0.4481, allocations: 1.147 MB / 0.5706 GB, free: 13.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.4483, allocations: 376.5 kB / 0.571 GB, free: 13.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4485, allocations: 194.2 kB / 0.5712 GB, free: 13.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4485, allocations: 33.2 kB / 0.5712 GB, free: 13.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4486, allocations: 187 kB / 0.5714 GB, free: 13.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.4487, allocations: 118.6 kB / 0.5715 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4488, allocations: 122.6 kB / 0.5716 GB, free: 12.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.449, allocations: 330.3 kB / 0.5719 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.4491, allocations: 79.81 kB / 0.572 GB, free: 12.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.4494, allocations: 349 kB / 0.5723 GB, free: 12.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.45, allocations: 485.6 kB / 0.5728 GB, free: 11.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.45, allocations: 4 kB / 0.5728 GB, free: 11.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008107/0.4508, allocations: 463.5 kB / 0.5732 GB, free: 11.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4508, allocations: 16.2 kB / 0.5733 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4508, allocations: 12 kB / 0.5733 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.4508, allocations: 15.94 kB / 0.5733 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4521, allocations: 205.6 kB / 0.5735 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006445/0.4527, allocations: 1.181 MB / 0.5746 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.4531, allocations: 31.83 kB / 0.5747 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.4531, allocations: 51.58 kB / 0.5747 GB, free: 9.742 MB / 458.7 MB 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.0002145/0.4533, allocations: 160.1 kB / 0.5749 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.4534, allocations: 23.91 kB / 0.5749 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.4565, allocations: 3.058 MB / 0.5779 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/0.4565, allocations: 27.97 kB / 0.5779 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4565, allocations: 4 kB / 0.5779 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4565, allocations: 8.484 kB / 0.5779 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4576, allocations: 0.9468 MB / 0.5788 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4576, allocations: 4 kB / 0.5788 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.4581, allocations: 97.92 kB / 0.5789 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/0.4583, allocations: 171.8 kB / 0.5791 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.4583, allocations: 14.84 kB / 0.5791 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000393/0.4587, allocations: 0.6452 MB / 0.5797 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.4587, allocations: 12.03 kB / 0.5798 GB, free: 4.555 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.4596, allocations: 0.9881 MB / 0.5807 GB, free: 3.516 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.4597, allocations: 51.53 kB / 0.5808 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4598, allocations: 95.08 kB / 0.5809 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.46, allocations: 15.98 kB / 0.5809 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.46, allocations: 35.08 kB / 0.5809 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.4601, allocations: 22.42 kB / 0.5809 GB, free: 3.305 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.4605, allocations: 475 kB / 0.5814 GB, free: 2.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4605, allocations: 0 / 0.5814 GB, free: 2.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004937/0.4654, allocations: 1.622 MB / 0.583 GB, free: 1.215 MB / 458.7 MB 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.008782/0.4742, allocations: 3.396 MB / 0.5863 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.4755, allocations: 0.5454 MB / 0.5868 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4755, allocations: 4 kB / 0.5868 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.4758, allocations: 304.1 kB / 0.5871 GB, free: 13.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.4764, allocations: 118.2 kB / 0.5872 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6056/1.082, allocations: 352.4 MB / 0.9314 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/1.082, allocations: 392 kB / 0.9318 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000451/1.083, allocations: 0.5044 MB / 0.9322 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/1.083, allocations: 316.4 kB / 0.9325 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/1.083, allocations: 0 / 0.9325 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/1.158, allocations: 67.27 MB / 0.9982 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.63, allocations: 15.91 kB / 0.9983 GB, free: 57.3 MB / 0.5105 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.594432254321873] 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'] 11.756711641326547 11.762673715 11.502226611 Calling exit ...