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.001305/0.001305, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001459/0.001459, allocations: 211 kB / 23.73 MB, free: 4.523 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2324/0.2324, allocations: 46.95 MB / 360.9 MB, free: 4.148 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.98 kB / 0.4962 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01788/0.3848, allocations: 12.71 MB / 0.5731 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03037/0.4152, allocations: 23.37 MB / 0.5959 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.4154, allocations: 4 kB / 0.5959 GB, free: 8 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.4158, allocations: 79.55 kB / 0.596 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0232/0.439, allocations: 8.513 MB / 0.6043 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.44, allocations: 346.7 kB / 0.6046 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004979/0.4449, allocations: 2.006 MB / 0.6066 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.445, allocations: 12.59 kB / 0.6066 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.4456, allocations: 262.9 kB / 0.6068 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007834/0.4534, allocations: 3.274 MB / 0.61 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.4535, allocations: 12 kB / 0.61 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02425/0.4777, allocations: 11.55 MB / 0.6213 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.4779, allocations: 51.75 kB / 0.6214 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.4781, allocations: 115.5 kB / 0.6215 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.4945, allocations: 6.77 MB / 0.6281 GB, free: 14.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4945, allocations: 0 / 0.6281 GB, free: 14.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4945, allocations: 0 / 0.6281 GB, free: 14.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4945, allocations: 4 kB / 0.6281 GB, free: 14.91 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.004709/0.4992, allocations: 1.587 MB / 0.6296 GB, free: 13.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4992, allocations: 8.031 kB / 0.6296 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.501e-05/0.4993, allocations: 70.72 kB / 0.6297 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.5008, allocations: 196.5 kB / 0.6299 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.5012, allocations: 210.1 kB / 0.6301 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.5013, allocations: 21.03 kB / 0.6301 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.5013, allocations: 35.94 kB / 0.6302 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.5036, allocations: 0.8029 MB / 0.6309 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5036, allocations: 7.938 kB / 0.6309 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.5036, allocations: 12 kB / 0.631 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.5037, allocations: 8 kB / 0.631 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.5059, allocations: 0.8102 MB / 0.6318 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.003246/0.5091, allocations: 2.143 MB / 0.6338 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5104, allocations: 338.3 kB / 0.6342 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.5105, allocations: 64.81 kB / 0.6342 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3573/0.8678, allocations: 99.97 MB / 0.7319 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.8692, allocations: 454.8 kB / 0.7323 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.8692, allocations: 0 / 0.7323 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004006/0.8732, allocations: 1.149 MB / 0.7334 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002359/0.8734, allocations: 375.7 kB / 0.7338 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.8736, allocations: 186.2 kB / 0.734 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.8737, allocations: 33.7 kB / 0.734 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.8738, allocations: 196.1 kB / 0.7342 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.8739, allocations: 123 kB / 0.7343 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.8741, allocations: 122.1 kB / 0.7344 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8743, allocations: 330.8 kB / 0.7347 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.8744, allocations: 76.94 kB / 0.7348 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.8749, allocations: 352.9 kB / 0.7351 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.8756, allocations: 479.6 kB / 0.7356 GB, free: 8 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8756, allocations: 0 / 0.7356 GB, free: 8 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2633/1.139, allocations: 477.5 kB / 0.736 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.139, allocations: 9.672 kB / 0.7361 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.139, allocations: 9.156 kB / 0.7361 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.85e-05/1.139, allocations: 15.72 kB / 0.7361 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/1.141, allocations: 207.3 kB / 0.7363 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004509/1.141, allocations: 1.183 MB / 0.7374 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.142, allocations: 23.08 kB / 0.7375 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/1.142, allocations: 43.23 kB / 0.7375 GB, free: 167.5 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.0002276/1.142, allocations: 173.8 kB / 0.7377 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.142, allocations: 25.64 kB / 0.7377 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/1.145, allocations: 2.977 MB / 0.7406 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.145, allocations: 23.28 kB / 0.7406 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.145, allocations: 3.688 kB / 0.7406 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.145, allocations: 5.297 kB / 0.7406 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/1.146, allocations: 0.9496 MB / 0.7416 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.146, allocations: 1.094 kB / 0.7416 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/1.147, allocations: 103.9 kB / 0.7417 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/1.147, allocations: 170.2 kB / 0.7418 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/1.147, allocations: 12.84 kB / 0.7418 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002477/1.147, allocations: 0.6394 MB / 0.7425 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.147, allocations: 3.781 kB / 0.7425 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/1.148, allocations: 0.9967 MB / 0.7434 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/1.148, allocations: 63.55 kB / 0.7435 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.148, allocations: 90.11 kB / 0.7436 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.149, allocations: 19.92 kB / 0.7436 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/1.149, allocations: 33.16 kB / 0.7436 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/1.149, allocations: 13.59 kB / 0.7436 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004454/1.149, allocations: 476.2 kB / 0.7441 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.149, allocations: 2.531 kB / 0.7441 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003682/1.153, allocations: 1.642 MB / 0.7457 GB, free: 163.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.007238/1.16, allocations: 3.179 MB / 0.7488 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001512/1.161, allocations: 0.5442 MB / 0.7493 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.161, allocations: 2.969 kB / 0.7493 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/1.162, allocations: 292 kB / 0.7496 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/1.163, allocations: 130.8 kB / 0.7497 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6691/1.832, allocations: 353.3 MB / 1.095 GB, free: 140.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/1.832, allocations: 395.5 kB / 1.095 GB, free: 140.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000645/1.833, allocations: 0.5115 MB / 1.096 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/1.833, allocations: 319.3 kB / 1.096 GB, free: 139.5 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/1.833, allocations: 0 / 1.096 GB, free: 139.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09608/1.929, allocations: 67.64 MB / 1.162 GB, free: 72.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/18.29, allocations: 10.72 kB / 1.162 GB, free: 72.09 MB / 0.6387 GB " [Timeout remaining time 642] (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: 21.157976409012917] 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.465073271014262 18.480984375 17.983144756 Calling exit ...