Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001341/0.001341, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.00163/0.00163, allocations: 211.7 kB / 24.51 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 46.96 MB / 361.7 MB, free: 4.141 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+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_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 59.91 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 66.04 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01773/0.3618, allocations: 12.7 MB / 0.5738 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03125/0.3931, allocations: 23.34 MB / 0.5966 GB, free: 40 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.3934, allocations: 4 kB / 0.5966 GB, free: 36 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.3938, allocations: 87.44 kB / 0.5967 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02411/0.4179, allocations: 8.503 MB / 0.605 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.419, allocations: 350.7 kB / 0.6053 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.4247, allocations: 2.01 MB / 0.6073 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.4248, allocations: 12.59 kB / 0.6073 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.4254, allocations: 258.9 kB / 0.6075 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008309/0.4337, allocations: 3.27 MB / 0.6107 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-05/0.4338, allocations: 12 kB / 0.6108 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02673/0.4606, allocations: 11.56 MB / 0.622 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4607, allocations: 43.83 kB / 0.6221 GB, free: 5.848 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.461, allocations: 127.4 kB / 0.6222 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01959/0.4806, allocations: 6.766 MB / 0.6288 GB, free: 14.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4806, allocations: 0 / 0.6288 GB, free: 14.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4806, allocations: 0 / 0.6288 GB, free: 14.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4806, allocations: 0 / 0.6288 GB, free: 14.94 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.005048/0.4857, allocations: 1.591 MB / 0.6304 GB, free: 13.31 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4857, allocations: 8.031 kB / 0.6304 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.553e-05/0.4857, allocations: 8.844 kB / 0.6304 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.718e-05/0.4858, allocations: 70.72 kB / 0.6304 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.4875, allocations: 188.5 kB / 0.6306 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.4879, allocations: 222.1 kB / 0.6308 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.4879, allocations: 24.78 kB / 0.6309 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.488, allocations: 35.98 kB / 0.6309 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.4904, allocations: 0.8029 MB / 0.6317 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4904, allocations: 7.875 kB / 0.6317 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.4904, allocations: 16 kB / 0.6317 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4905, allocations: 8 kB / 0.6317 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.4928, allocations: 0.818 MB / 0.6325 GB, free: 11.02 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.003417/0.4962, allocations: 2.139 MB / 0.6346 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.4976, allocations: 345.3 kB / 0.6349 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4977, allocations: 60.83 kB / 0.635 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.362/0.8596, allocations: 99.97 MB / 0.7326 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.8612, allocations: 454.7 kB / 0.733 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.707e-06/0.8612, allocations: 4 kB / 0.7331 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004554/0.8657, allocations: 1.138 MB / 0.7342 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/0.866, allocations: 371.8 kB / 0.7345 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.8662, allocations: 182.4 kB / 0.7347 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.8663, allocations: 33.7 kB / 0.7347 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.8664, allocations: 196.1 kB / 0.7349 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8665, allocations: 119 kB / 0.735 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.8667, allocations: 126 kB / 0.7351 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8669, allocations: 330.8 kB / 0.7355 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.8671, allocations: 80.94 kB / 0.7355 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.8675, allocations: 348.9 kB / 0.7359 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.8683, allocations: 487.4 kB / 0.7363 GB, free: 16 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.8683, allocations: 4 kB / 0.7363 GB, free: 12 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.3044/1.173, allocations: 469.5 kB / 0.7368 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.173, allocations: 12.44 kB / 0.7368 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.173, allocations: 9.281 kB / 0.7368 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.274e-05/1.173, allocations: 12.47 kB / 0.7368 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.175, allocations: 209.8 kB / 0.737 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/1.175, allocations: 1.189 MB / 0.7382 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/1.175, allocations: 21.41 kB / 0.7382 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.176, allocations: 44.41 kB / 0.7382 GB, free: 167.6 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.0002407/1.176, allocations: 164.3 kB / 0.7384 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/1.176, allocations: 27.42 kB / 0.7384 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/1.179, allocations: 2.993 MB / 0.7413 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.179, allocations: 24.14 kB / 0.7414 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.179, allocations: 4.781 kB / 0.7414 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.179, allocations: 5.172 kB / 0.7414 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/1.18, allocations: 0.9566 MB / 0.7423 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.18, allocations: 5.312 kB / 0.7423 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/1.181, allocations: 94.42 kB / 0.7424 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/1.181, allocations: 163.7 kB / 0.7426 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/1.181, allocations: 15.17 kB / 0.7426 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002769/1.181, allocations: 0.6431 MB / 0.7432 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.181, allocations: 4.844 kB / 0.7432 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.182, allocations: 0.9913 MB / 0.7442 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/1.182, allocations: 59.88 kB / 0.7442 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.182, allocations: 100.1 kB / 0.7443 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/1.183, allocations: 15.27 kB / 0.7443 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/1.183, allocations: 36.52 kB / 0.7444 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/1.183, allocations: 23.45 kB / 0.7444 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005156/1.183, allocations: 470.2 kB / 0.7449 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.183, allocations: 0 / 0.7449 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00464/1.188, allocations: 1.634 MB / 0.7465 GB, free: 163.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.00882/1.197, allocations: 3.18 MB / 0.7496 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.198, allocations: 0.5412 MB / 0.7501 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.198, allocations: 0 / 0.7501 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.199, allocations: 296 kB / 0.7504 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/1.2, allocations: 141.4 kB / 0.7505 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6886/1.888, allocations: 353.3 MB / 1.096 GB, free: 140.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/1.888, allocations: 395.9 kB / 1.096 GB, free: 140.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005943/1.889, allocations: 0.5108 MB / 1.096 GB, free: 139.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/1.889, allocations: 319.3 kB / 1.097 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/1.889, allocations: 0 / 1.097 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08536/1.975, allocations: 67.32 MB / 1.162 GB, free: 72.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/20.23, allocations: 7.859 kB / 1.162 GB, free: 72.48 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.278244204004295] 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'] 20.45106614101678 20.460761389 19.977518842 Calling exit ...