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.001375/0.001375, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001598/0.001598, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2299/0.2299, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.002227/0.002227, allocations: 71.89 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3451, allocations: 66.03 MB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01707/0.3621, allocations: 12.71 MB / 0.5731 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03086/0.393, allocations: 23.36 MB / 0.5959 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.3932, allocations: 0 / 0.5959 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.3936, allocations: 91.42 kB / 0.596 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02331/0.4169, allocations: 8.503 MB / 0.6043 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.418, allocations: 346.4 kB / 0.6046 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.4223, allocations: 2.002 MB / 0.6066 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.4224, allocations: 12.59 kB / 0.6066 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.4229, allocations: 270.8 kB / 0.6068 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006345/0.4293, allocations: 3.262 MB / 0.61 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.4293, allocations: 16 kB / 0.61 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02149/0.4508, allocations: 11.07 MB / 0.6208 GB, free: 6.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.4509, allocations: 47.77 kB / 0.6209 GB, free: 6.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.4512, allocations: 123.5 kB / 0.621 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.4683, allocations: 6.766 MB / 0.6276 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4683, allocations: 0 / 0.6276 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4683, allocations: 4 kB / 0.6276 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.4683, allocations: 0 / 0.6276 GB, free: 15.37 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.004952/0.4732, allocations: 1.579 MB / 0.6292 GB, free: 13.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4733, allocations: 12.02 kB / 0.6292 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.176e-05/0.4734, allocations: 70.73 kB / 0.6292 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.4748, allocations: 188.5 kB / 0.6294 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.4752, allocations: 218.1 kB / 0.6296 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4753, allocations: 25.03 kB / 0.6296 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.4753, allocations: 31.94 kB / 0.6297 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.4775, allocations: 0.8067 MB / 0.6305 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4775, allocations: 0 / 0.6305 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.4776, allocations: 20 kB / 0.6305 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.4776, allocations: 8 kB / 0.6305 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.4798, allocations: 0.8102 MB / 0.6313 GB, free: 11.48 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.003331/0.4831, allocations: 2.139 MB / 0.6334 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4844, allocations: 338.3 kB / 0.6337 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4845, allocations: 68.81 kB / 0.6338 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4203/0.9048, allocations: 99.97 MB / 0.7314 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.9062, allocations: 454.6 kB / 0.7318 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.186e-06/0.9062, allocations: 0 / 0.7318 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004088/0.9103, allocations: 1.15 MB / 0.7329 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002552/0.9106, allocations: 371.8 kB / 0.7333 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.9108, allocations: 194.2 kB / 0.7335 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.9108, allocations: 37.64 kB / 0.7335 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.911, allocations: 196.1 kB / 0.7337 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.9111, allocations: 123 kB / 0.7338 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.9113, allocations: 122.1 kB / 0.7339 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.9115, allocations: 330.8 kB / 0.7343 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.9116, allocations: 77.22 kB / 0.7343 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.9121, allocations: 352.9 kB / 0.7347 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.9128, allocations: 479.5 kB / 0.7351 GB, free: 472 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9128, allocations: 0 / 0.7351 GB, free: 472 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.3018/1.215, allocations: 475.6 kB / 0.7356 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/1.215, allocations: 9.281 kB / 0.7356 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/1.215, allocations: 9.125 kB / 0.7356 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/1.215, allocations: 12.38 kB / 0.7356 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.217, allocations: 206.9 kB / 0.7358 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/1.217, allocations: 1.184 MB / 0.737 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/1.217, allocations: 23.59 kB / 0.737 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/1.217, allocations: 46.92 kB / 0.737 GB, free: 167.2 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.0002283/1.218, allocations: 164 kB / 0.7372 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.218, allocations: 26.88 kB / 0.7372 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/1.221, allocations: 3.059 MB / 0.7402 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/1.221, allocations: 23.02 kB / 0.7402 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.221, allocations: 3.969 kB / 0.7402 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.221, allocations: 5.828 kB / 0.7402 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/1.222, allocations: 0.9487 MB / 0.7412 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.222, allocations: 3.844 kB / 0.7412 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/1.222, allocations: 101.8 kB / 0.7413 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001602/1.223, allocations: 167 kB / 0.7414 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.223, allocations: 13.23 kB / 0.7414 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002671/1.223, allocations: 0.6465 MB / 0.7421 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.223, allocations: 3.875 kB / 0.7421 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/1.224, allocations: 0.9921 MB / 0.743 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/1.224, allocations: 65.52 kB / 0.7431 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.224, allocations: 94.02 kB / 0.7432 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/1.224, allocations: 19.47 kB / 0.7432 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/1.224, allocations: 27.19 kB / 0.7432 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/1.224, allocations: 15.75 kB / 0.7432 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004372/1.225, allocations: 478.4 kB / 0.7437 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.225, allocations: 0.9844 kB / 0.7437 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003975/1.229, allocations: 1.637 MB / 0.7453 GB, free: 164 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.008069/1.237, allocations: 3.186 MB / 0.7484 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.238, allocations: 0.5434 MB / 0.7489 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.238, allocations: 2.953 kB / 0.7489 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/1.239, allocations: 295.8 kB / 0.7492 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/1.24, allocations: 130.8 kB / 0.7493 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6796/1.919, allocations: 353.3 MB / 1.094 GB, free: 141 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/1.919, allocations: 399.3 kB / 1.095 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005893/1.92, allocations: 0.5009 MB / 1.095 GB, free: 140.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.92, allocations: 323.3 kB / 1.096 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/1.92, allocations: 3.938 kB / 1.096 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/2.029, allocations: 67.38 MB / 1.161 GB, free: 72.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.78, allocations: 8 kB / 1.161 GB, free: 72.68 MB / 0.6387 GB " [Timeout remaining time 641] (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.734127135947347] 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.954081889241934 18.970014533 18.498350861 Calling exit ...