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.001311/0.001311, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001485/0.001485, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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.2316/0.2316, allocations: 44.92 MB / 359.6 MB, free: 6.059 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3729, allocations: 65.48 MB / 0.5578 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01923/0.3922, allocations: 12.7 MB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03455/0.4267, allocations: 23.35 MB / 0.593 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.427, allocations: 4 kB / 0.593 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.4274, allocations: 83.44 kB / 0.5931 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02445/0.4519, allocations: 8.503 MB / 0.6014 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.453, allocations: 350.5 kB / 0.6017 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004986/0.458, allocations: 2.01 MB / 0.6037 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.4581, allocations: 16.59 kB / 0.6037 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.4586, allocations: 262.9 kB / 0.6039 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007595/0.4662, allocations: 3.266 MB / 0.6071 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.4663, allocations: 12 kB / 0.6071 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02332/0.4896, allocations: 11.56 MB / 0.6184 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.4898, allocations: 47.77 kB / 0.6185 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.49, allocations: 123.5 kB / 0.6186 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.5085, allocations: 6.77 MB / 0.6252 GB, free: 2.109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5085, allocations: 0 / 0.6252 GB, free: 2.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5085, allocations: 0 / 0.6252 GB, free: 2.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.5085, allocations: 0 / 0.6252 GB, free: 2.109 MB / 462.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.005617/0.5141, allocations: 1.591 MB / 0.6268 GB, free: 492 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.5142, allocations: 8.031 kB / 0.6268 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.156e-05/0.5142, allocations: 8.844 kB / 0.6268 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.779e-05/0.5143, allocations: 70.72 kB / 0.6268 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.5159, allocations: 192.5 kB / 0.627 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.5164, allocations: 210.2 kB / 0.6272 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.5164, allocations: 24.78 kB / 0.6272 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.5165, allocations: 35.98 kB / 0.6273 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.5188, allocations: 0.8067 MB / 0.6281 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5188, allocations: 8 kB / 0.6281 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.5188, allocations: 12 kB / 0.6281 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.5189, allocations: 8 kB / 0.6281 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.5212, allocations: 0.8141 MB / 0.6289 GB, free: 14.2 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.003511/0.5247, allocations: 2.135 MB / 0.631 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.526, allocations: 342.4 kB / 0.6313 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.5261, allocations: 68.77 kB / 0.6314 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3538/0.8799, allocations: 99.97 MB / 0.729 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.8815, allocations: 458.7 kB / 0.7294 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.507e-06/0.8815, allocations: 0 / 0.7294 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004284/0.8858, allocations: 1.137 MB / 0.7305 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.886, allocations: 379.7 kB / 0.7309 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.8862, allocations: 179.9 kB / 0.7311 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.8863, allocations: 33.7 kB / 0.7311 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.8864, allocations: 192.2 kB / 0.7313 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.8866, allocations: 119 kB / 0.7314 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.8867, allocations: 126.1 kB / 0.7315 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8869, allocations: 330.8 kB / 0.7318 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.8871, allocations: 80.94 kB / 0.7319 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.8875, allocations: 344.9 kB / 0.7322 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.8882, allocations: 487.3 kB / 0.7327 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.8882, allocations: 4 kB / 0.7327 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000947/0.8891, allocations: 477.2 kB / 0.7332 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8892, allocations: 12 kB / 0.7332 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.8892, allocations: 11.94 kB / 0.7332 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.8892, allocations: 12 kB / 0.7332 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.8909, allocations: 211.7 kB / 0.7334 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007401/0.8916, allocations: 1.188 MB / 0.7346 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.892, allocations: 27.89 kB / 0.7346 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.892, allocations: 39.98 kB / 0.7346 GB, free: 1.18 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.0002157/0.8922, allocations: 161.6 kB / 0.7348 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.8923, allocations: 19.91 kB / 0.7348 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2604/1.153, allocations: 3.001 MB / 0.7377 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/1.153, allocations: 24.83 kB / 0.7378 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.153, allocations: 7.625 kB / 0.7378 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.153, allocations: 5.641 kB / 0.7378 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/1.154, allocations: 0.9476 MB / 0.7387 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.154, allocations: 3.938 kB / 0.7387 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/1.155, allocations: 100.5 kB / 0.7388 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/1.155, allocations: 163.1 kB / 0.7389 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/1.155, allocations: 9.234 kB / 0.739 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003386/1.155, allocations: 0.655 MB / 0.7396 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.155, allocations: 0 / 0.7396 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.156, allocations: 0.989 MB / 0.7406 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/1.156, allocations: 72.27 kB / 0.7406 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.156, allocations: 89.64 kB / 0.7407 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.157, allocations: 15.31 kB / 0.7407 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/1.157, allocations: 36.98 kB / 0.7408 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/1.157, allocations: 17.45 kB / 0.7408 GB, free: 169 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004816/1.157, allocations: 469.5 kB / 0.7412 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.157, allocations: 0 / 0.7412 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005172/1.162, allocations: 1.639 MB / 0.7428 GB, free: 168.7 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.00893/1.171, allocations: 3.186 MB / 0.7459 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.173, allocations: 0.5377 MB / 0.7465 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.173, allocations: 2.125 kB / 0.7465 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/1.173, allocations: 297.8 kB / 0.7468 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/1.174, allocations: 136.5 kB / 0.7469 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7003/1.875, allocations: 353.3 MB / 1.092 GB, free: 115.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/1.875, allocations: 395.9 kB / 1.092 GB, free: 114.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006013/1.875, allocations: 0.5023 MB / 1.093 GB, free: 114.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.876, allocations: 319.3 kB / 1.093 GB, free: 114.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.103e-06/1.876, allocations: 3.562 kB / 1.093 GB, free: 114.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.979, allocations: 67.33 MB / 1.159 GB, free: 46.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/20.41, allocations: 7.938 kB / 1.159 GB, free: 46.98 MB / 0.6231 GB " [Timeout remaining time 639] (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: 23.513935038936324] 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.64027465507388 20.660605304 20.148028583 Calling exit ...