Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 108.2 kB / 20.22 MB, free: 1.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 222.2 kB / 23.48 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.2 MB / 256.8 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.233/0.233, allocations: 46.89 MB / 360 MB, free: 4.73 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 75.88 kB / 0.4951 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3451, allocations: 66 MB / 0.5596 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01797/0.3631, allocations: 14.04 MB / 0.5733 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03333/0.3964, allocations: 26.76 MB / 0.5994 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.3967, allocations: 0 / 0.5994 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.3971, allocations: 99.38 kB / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02635/0.4235, allocations: 8.54 MB / 0.6079 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4245, allocations: 353 kB / 0.6082 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004878/0.4294, allocations: 2.01 MB / 0.6102 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.4295, allocations: 12.41 kB / 0.6102 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005561/0.43, allocations: 282.8 kB / 0.6104 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007705/0.4377, allocations: 3.27 MB / 0.6136 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.4378, allocations: 12 kB / 0.6136 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02302/0.4608, allocations: 10.85 MB / 0.6242 GB, free: 2.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.4609, allocations: 47.77 kB / 0.6243 GB, free: 2.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.4612, allocations: 139.3 kB / 0.6244 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01798/0.4792, allocations: 6.333 MB / 0.6306 GB, free: 11.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4792, allocations: 3.984 kB / 0.6306 GB, free: 11.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4792, allocations: 0 / 0.6306 GB, free: 11.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.4792, allocations: 0 / 0.6306 GB, free: 11.97 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.004997/0.4842, allocations: 1.616 MB / 0.6322 GB, free: 10.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4842, allocations: 12.03 kB / 0.6322 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.607e-05/0.4843, allocations: 66.72 kB / 0.6323 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.4861, allocations: 224.5 kB / 0.6325 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.4866, allocations: 272 kB / 0.6327 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.4866, allocations: 21.03 kB / 0.6327 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.4867, allocations: 39.92 kB / 0.6328 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.4892, allocations: 0.821 MB / 0.6336 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4892, allocations: 4 kB / 0.6336 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.4893, allocations: 12 kB / 0.6336 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4893, allocations: 8 kB / 0.6336 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.4919, allocations: 0.9425 MB / 0.6345 GB, free: 7.797 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.003534/0.4954, allocations: 2.574 MB / 0.637 GB, free: 5.008 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4969, allocations: 362.2 kB / 0.6374 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.4971, allocations: 72.81 kB / 0.6375 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7879/1.285, allocations: 241.3 MB / 0.8731 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/1.286, allocations: 478.2 kB / 0.8735 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/1.286, allocations: 0 / 0.8735 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00287/1.289, allocations: 0.7826 MB / 0.8743 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.289, allocations: 371.8 kB / 0.8746 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/1.29, allocations: 184.9 kB / 0.8748 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.29, allocations: 33.7 kB / 0.8749 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/1.29, allocations: 196.2 kB / 0.875 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/1.29, allocations: 115.7 kB / 0.8751 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/1.29, allocations: 126.2 kB / 0.8753 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/1.29, allocations: 335.6 kB / 0.8756 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.29, allocations: 85 kB / 0.8757 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/1.29, allocations: 344.7 kB / 0.876 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/1.291, allocations: 481.5 kB / 0.8765 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.291, allocations: 0 / 0.8765 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007949/1.292, allocations: 477.5 kB / 0.8769 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.292, allocations: 14.5 kB / 0.8769 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.292, allocations: 12.09 kB / 0.8769 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.292, allocations: 12 kB / 0.8769 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/1.292, allocations: 143.7 kB / 0.8771 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.292, allocations: 15.94 kB / 0.8771 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/1.292, allocations: 52.03 kB / 0.8772 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/1.292, allocations: 43.97 kB / 0.8772 GB, free: 11.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.293, allocations: 164.8 kB / 0.8774 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/1.293, allocations: 27.84 kB / 0.8774 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/1.295, allocations: 2.605 MB / 0.8799 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.295, allocations: 19.97 kB / 0.8799 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.295, allocations: 4 kB / 0.8799 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.295, allocations: 4 kB / 0.8799 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/1.295, allocations: 0.9398 MB / 0.8809 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.295, allocations: 0 / 0.8809 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/1.296, allocations: 80.23 kB / 0.8809 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.296, allocations: 8 kB / 0.8809 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/1.296, allocations: 12 kB / 0.881 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.296, allocations: 11.88 kB / 0.881 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.296, allocations: 4 kB / 0.881 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/1.297, allocations: 0.7171 MB / 0.8817 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/1.297, allocations: 124.7 kB / 0.8818 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.852e-05/1.297, allocations: 114.9 kB / 0.8819 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/1.297, allocations: 12 kB / 0.8819 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/1.297, allocations: 35.83 kB / 0.882 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.297, allocations: 16 kB / 0.882 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004281/1.297, allocations: 0.5079 MB / 0.8825 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.297, allocations: 0 / 0.8825 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003881/1.301, allocations: 1.524 MB / 0.884 GB, free: 3.969 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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006661/1.308, allocations: 2.892 MB / 0.8868 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007337/1.309, allocations: 410.6 kB / 0.8872 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.309, allocations: 0.75 kB / 0.8872 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/1.309, allocations: 228.7 kB / 0.8874 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/1.31, allocations: 128.2 kB / 0.8875 GB, free: 424 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.5/2.81, allocations: 0.6073 GB / 1.495 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/2.81, allocations: 0.9817 MB / 1.496 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005673/2.811, allocations: 0.5252 MB / 1.496 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/2.811, allocations: 339.3 kB / 1.497 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/2.811, allocations: 0 / 1.497 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08526/2.897, allocations: 63.59 MB / 1.559 GB, free: 129.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/16.05, allocations: 2.5 kB / 1.559 GB, free: 129.8 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.946386674186215] 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'] 16.172350973123685 16.182382539 15.700775098 Calling exit ...