Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001519/0.001519, allocations: 112 kB / 20.48 MB, free: 1.27 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.001913/0.001913, allocations: 209.2 kB / 23.77 MB, free: 4.445 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.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.95 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 79.88 kB / 0.4963 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.351, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0171/0.3681, allocations: 12.71 MB / 0.5732 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03124/0.3993, allocations: 23.37 MB / 0.596 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.3995, allocations: 4 kB / 0.596 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.3999, allocations: 83.44 kB / 0.5961 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02381/0.4237, allocations: 8.505 MB / 0.6044 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4247, allocations: 345.3 kB / 0.6048 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.4295, allocations: 2.006 MB / 0.6067 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.4296, allocations: 12.59 kB / 0.6067 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.4301, allocations: 266.9 kB / 0.607 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007382/0.4375, allocations: 3.262 MB / 0.6102 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.4375, allocations: 16 kB / 0.6102 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02371/0.4612, allocations: 11.07 MB / 0.621 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.4614, allocations: 47.77 kB / 0.621 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.4617, allocations: 119.5 kB / 0.6212 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01864/0.4803, allocations: 6.766 MB / 0.6278 GB, free: 15.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4803, allocations: 0 / 0.6278 GB, free: 15.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4803, allocations: 4 kB / 0.6278 GB, free: 15.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4803, allocations: 0 / 0.6278 GB, free: 15.17 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.004939/0.4853, allocations: 1.587 MB / 0.6293 GB, free: 13.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4853, allocations: 8.031 kB / 0.6293 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.855e-05/0.4854, allocations: 74.72 kB / 0.6294 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.487, allocations: 192.5 kB / 0.6296 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.4874, allocations: 214.1 kB / 0.6298 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.4874, allocations: 21.03 kB / 0.6298 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.4875, allocations: 35.94 kB / 0.6298 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.4898, allocations: 0.8067 MB / 0.6306 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4898, allocations: 4 kB / 0.6306 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.4898, allocations: 16 kB / 0.6306 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4898, allocations: 8 kB / 0.6307 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.4919, allocations: 0.8141 MB / 0.6314 GB, free: 11.27 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.003393/0.4953, allocations: 2.127 MB / 0.6335 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.4965, allocations: 342.3 kB / 0.6339 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4967, allocations: 64.83 kB / 0.6339 GB, free: 8.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3872/0.8839, allocations: 99.98 MB / 0.7315 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.8852, allocations: 454.2 kB / 0.732 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.8852, allocations: 3.938 kB / 0.732 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004005/0.8892, allocations: 1.142 MB / 0.7331 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002082/0.8894, allocations: 375.8 kB / 0.7335 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.8896, allocations: 190.2 kB / 0.7336 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.8897, allocations: 33.7 kB / 0.7337 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.8898, allocations: 192.1 kB / 0.7339 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.8899, allocations: 119 kB / 0.734 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.8901, allocations: 126.1 kB / 0.7341 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8903, allocations: 330.8 kB / 0.7344 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.8904, allocations: 81.25 kB / 0.7345 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.8908, allocations: 352.9 kB / 0.7348 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.8915, allocations: 475.5 kB / 0.7353 GB, free: 268 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.8915, allocations: 4 kB / 0.7353 GB, free: 264 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2518/1.143, allocations: 472.4 kB / 0.7357 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.143, allocations: 9.297 kB / 0.7357 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/1.143, allocations: 9.875 kB / 0.7357 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.143, allocations: 12.5 kB / 0.7358 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.145, allocations: 211.6 kB / 0.736 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003939/1.145, allocations: 1.182 MB / 0.7371 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/1.146, allocations: 21.94 kB / 0.7371 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/1.146, allocations: 48.55 kB / 0.7372 GB, free: 167.1 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.0001769/1.146, allocations: 164.5 kB / 0.7373 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/1.146, allocations: 29.88 kB / 0.7374 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/1.149, allocations: 3.051 MB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.149, allocations: 26.91 kB / 0.7404 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.149, allocations: 5.594 kB / 0.7404 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.149, allocations: 7.031 kB / 0.7404 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/1.15, allocations: 0.9466 MB / 0.7413 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.15, allocations: 3.969 kB / 0.7413 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/1.15, allocations: 101.6 kB / 0.7414 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/1.15, allocations: 163.2 kB / 0.7416 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.15, allocations: 9.609 kB / 0.7416 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002342/1.151, allocations: 0.6514 MB / 0.7422 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.151, allocations: 4.766 kB / 0.7422 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/1.152, allocations: 0.9883 MB / 0.7432 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/1.152, allocations: 65.64 kB / 0.7432 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/1.152, allocations: 94.59 kB / 0.7433 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.152, allocations: 15.3 kB / 0.7433 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/1.152, allocations: 36.98 kB / 0.7434 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/1.152, allocations: 14.78 kB / 0.7434 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003993/1.152, allocations: 471.4 kB / 0.7438 GB, free: 164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.152, allocations: 3.844 kB / 0.7439 GB, free: 164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003448/1.156, allocations: 1.639 MB / 0.7455 GB, free: 163.6 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.006551/1.162, allocations: 3.192 MB / 0.7486 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00142/1.164, allocations: 0.5386 MB / 0.7491 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.164, allocations: 0 / 0.7491 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/1.164, allocations: 306.2 kB / 0.7494 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007655/1.165, allocations: 124.5 kB / 0.7495 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6593/1.824, allocations: 353.3 MB / 1.095 GB, free: 140.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/1.824, allocations: 395.9 kB / 1.095 GB, free: 140 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005892/1.825, allocations: 0.4995 MB / 1.095 GB, free: 139.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/1.825, allocations: 322.7 kB / 1.096 GB, free: 139.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.563e-06/1.825, allocations: 0 / 1.096 GB, free: 139.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0966/1.922, allocations: 67.46 MB / 1.162 GB, free: 71.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/18.45, allocations: 17.86 kB / 1.162 GB, free: 71.95 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.56894780183211] 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'] 18.63705808483064 18.655447464 18.171060383 Calling exit ...