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.0008264/0.0008264, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008807/0.0008807, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8735/0.8735, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2319/0.2319, allocations: 32.8 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 439.6 MB, free: 4.195 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/2.072e-05, allocations: 3.547 kB / 439.6 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.1717/0.1717, allocations: 12.7 MB / 452.3 MB, free: 40.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.1853, allocations: 23.36 MB / 475.7 MB, free: 24.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1854, allocations: 7 kB / 475.7 MB, free: 24.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1857, allocations: 97.31 kB / 475.8 MB, free: 24.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.1996, allocations: 8.626 MB / 484.4 MB, free: 21.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.2003, allocations: 358 kB / 484.8 MB, free: 20.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00209/0.2023, allocations: 2.026 MB / 486.8 MB, free: 19.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.2024, allocations: 17.55 kB / 486.8 MB, free: 19.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.2027, allocations: 310.8 kB / 487.1 MB, free: 19.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/0.2057, allocations: 3.254 MB / 490.4 MB, free: 18.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.2058, allocations: 9.281 kB / 490.4 MB, free: 18.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.2228, allocations: 11.1 MB / 0.4897 GB, free: 15.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.2229, allocations: 49.86 kB / 0.4898 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.2231, allocations: 104.3 kB / 0.4899 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.2398, allocations: 8.571 MB / 0.4982 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2398, allocations: 1.094 kB / 0.4982 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2398, allocations: 0 / 0.4982 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2398, allocations: 0 / 0.4982 GB, free: 10.3 MB / 410.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.004942/0.2448, allocations: 1.584 MB / 0.4998 GB, free: 9.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2448, allocations: 13.41 kB / 0.4998 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.2449, allocations: 73.25 kB / 0.4999 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000831/0.2457, allocations: 187.1 kB / 0.5001 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.246, allocations: 215.1 kB / 0.5003 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.246, allocations: 26 kB / 0.5003 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.246, allocations: 27.94 kB / 0.5003 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.2472, allocations: 0.8042 MB / 0.5011 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2472, allocations: 5.125 kB / 0.5011 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.2473, allocations: 21.02 kB / 0.5011 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2473, allocations: 11.75 kB / 0.5011 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.2484, allocations: 0.8095 MB / 0.5019 GB, free: 7.867 MB / 410.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.00193/0.2503, allocations: 2.124 MB / 0.504 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.251, allocations: 341.1 kB / 0.5043 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.2511, allocations: 62.89 kB / 0.5044 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1881/0.4392, allocations: 99.95 MB / 0.602 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009216/0.4401, allocations: 450.6 kB / 0.6024 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.4401, allocations: 0 / 0.6024 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002768/0.4429, allocations: 1.144 MB / 0.6035 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.443, allocations: 367.8 kB / 0.6039 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4431, allocations: 206.3 kB / 0.6041 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.4432, allocations: 29.7 kB / 0.6041 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4433, allocations: 192.2 kB / 0.6043 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.4434, allocations: 115 kB / 0.6044 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.4435, allocations: 126.1 kB / 0.6045 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.4435, allocations: 330.8 kB / 0.6048 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4437, allocations: 80.94 kB / 0.6049 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.4439, allocations: 344.9 kB / 0.6052 GB, free: 164 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.4444, allocations: 483.4 kB / 0.6057 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4444, allocations: 5.969 kB / 0.6057 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005955/0.445, allocations: 468.8 kB / 0.6062 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.445, allocations: 9.562 kB / 0.6062 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.445, allocations: 16.86 kB / 0.6062 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.445, allocations: 15.94 kB / 0.6062 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.4458, allocations: 211.7 kB / 0.6064 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/0.4464, allocations: 1.176 MB / 0.6076 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.4466, allocations: 35.77 kB / 0.6076 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.4466, allocations: 43.98 kB / 0.6076 GB, free: 13.54 MB / 0.5105 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.0001846/0.4468, allocations: 163.1 kB / 0.6078 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.4469, allocations: 23.91 kB / 0.6078 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.4494, allocations: 3.065 MB / 0.6108 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.4495, allocations: 23.97 kB / 0.6108 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4495, allocations: 8.312 kB / 0.6108 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4495, allocations: 11.98 kB / 0.6108 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.4503, allocations: 0.95 MB / 0.6118 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4503, allocations: 4 kB / 0.6118 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.4506, allocations: 96.33 kB / 0.6119 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.4508, allocations: 164.7 kB / 0.612 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.4508, allocations: 15.98 kB / 0.612 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000317/0.4512, allocations: 0.6484 MB / 0.6127 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4512, allocations: 11.88 kB / 0.6127 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.452, allocations: 0.9914 MB / 0.6136 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.4521, allocations: 51.53 kB / 0.6137 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.4522, allocations: 98.2 kB / 0.6138 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.4523, allocations: 15.98 kB / 0.6138 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.4524, allocations: 31.89 kB / 0.6138 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4524, allocations: 19.98 kB / 0.6139 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004014/0.4528, allocations: 475 kB / 0.6143 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/0.4528, allocations: 3.938 kB / 0.6143 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005408/0.4582, allocations: 1.633 MB / 0.6159 GB, free: 4.914 MB / 0.5105 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.009487/0.4677, allocations: 3.408 MB / 0.6192 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.4689, allocations: 0.5309 MB / 0.6198 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.4689, allocations: 3.938 kB / 0.6198 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.4692, allocations: 304.1 kB / 0.62 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.4698, allocations: 137.2 kB / 0.6202 GB, free: 488 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6307/1.1, allocations: 353.3 MB / 0.9652 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/1.101, allocations: 392 kB / 0.9655 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004246/1.101, allocations: 0.5044 MB / 0.966 GB, free: 66.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/1.101, allocations: 320.4 kB / 0.9663 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/1.101, allocations: 0 / 0.9663 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/1.175, allocations: 67.67 MB / 1.032 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.71, allocations: 9.766 kB / 1.032 GB, free: 14.71 MB / 0.5417 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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: 13.841191565617919] 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.842801877297461 12.023856341 11.781376185 Calling exit ...