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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 104.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB 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.002227/0.002227, allocations: 81.16 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1242, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01836/0.1426, allocations: 13.92 MB / 494.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2666/0.4093, allocations: 26.58 MB / 0.5085 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.4096, allocations: 1.219 kB / 0.5085 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.41, allocations: 92.06 kB / 0.5086 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0296/0.4397, allocations: 8.557 MB / 0.517 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.4407, allocations: 343.2 kB / 0.5173 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004472/0.4452, allocations: 2.001 MB / 0.5192 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.4453, allocations: 19.19 kB / 0.5193 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.4458, allocations: 266.7 kB / 0.5195 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.4531, allocations: 3.263 MB / 0.5227 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.4532, allocations: 15.59 kB / 0.5227 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02669/0.4799, allocations: 10.57 MB / 0.533 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4801, allocations: 50.05 kB / 0.5331 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.4805, allocations: 139.8 kB / 0.5332 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02167/0.5022, allocations: 6.338 MB / 0.5394 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5022, allocations: 1.938 kB / 0.5394 GB, free: 1.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5022, allocations: 0 / 0.5394 GB, free: 1.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.5022, allocations: 3.938 kB / 0.5394 GB, free: 1.699 MB / 382.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.00466/0.5069, allocations: 1.565 MB / 0.5409 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5069, allocations: 8.312 kB / 0.541 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.507, allocations: 69.78 kB / 0.541 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.5086, allocations: 225.7 kB / 0.5412 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.5089, allocations: 271.9 kB / 0.5415 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.5089, allocations: 25.22 kB / 0.5415 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/0.509, allocations: 31.98 kB / 0.5416 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.5115, allocations: 0.8171 MB / 0.5424 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5115, allocations: 0 / 0.5424 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.5115, allocations: 16 kB / 0.5424 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5116, allocations: 8 kB / 0.5424 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.5142, allocations: 0.9425 MB / 0.5433 GB, free: 14.15 MB / 398.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.003598/0.5178, allocations: 2.582 MB / 0.5458 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5193, allocations: 382.2 kB / 0.5462 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.5195, allocations: 72.83 kB / 0.5462 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8081/1.328, allocations: 238.7 MB / 0.7794 GB, free: 173 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/1.329, allocations: 465.8 kB / 0.7798 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/1.329, allocations: 4 kB / 0.7798 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003026/1.332, allocations: 0.7813 MB / 0.7806 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/1.332, allocations: 380 kB / 0.7809 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/1.332, allocations: 181.2 kB / 0.7811 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/1.332, allocations: 37.7 kB / 0.7811 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/1.333, allocations: 181.2 kB / 0.7813 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/1.333, allocations: 114.9 kB / 0.7814 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/1.333, allocations: 118.1 kB / 0.7815 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/1.333, allocations: 338.6 kB / 0.7819 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/1.333, allocations: 85.06 kB / 0.7819 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/1.333, allocations: 340.7 kB / 0.7823 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/1.334, allocations: 489.1 kB / 0.7827 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/1.334, allocations: 7.188 kB / 0.7827 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000853/1.335, allocations: 473.2 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.335, allocations: 10.66 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.335, allocations: 12 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.335, allocations: 12 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/1.335, allocations: 139.8 kB / 0.7834 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.335, allocations: 21.72 kB / 0.7834 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/1.336, allocations: 51.47 kB / 0.7834 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/1.336, allocations: 40.36 kB / 0.7835 GB, free: 168.4 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.0001468/1.336, allocations: 170.9 kB / 0.7836 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/1.336, allocations: 31.72 kB / 0.7837 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.338, allocations: 2.605 MB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.338, allocations: 19.92 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.338, allocations: 4.875 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.338, allocations: 7.984 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/1.339, allocations: 0.9313 MB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.339, allocations: 4.375 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/1.34, allocations: 79.86 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.34, allocations: 4.938 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.34, allocations: 10.19 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.34, allocations: 7.984 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.34, allocations: 4 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/1.341, allocations: 0.7005 MB / 0.7879 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.341, allocations: 124.5 kB / 0.788 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.341, allocations: 114.4 kB / 0.7882 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/1.341, allocations: 11.98 kB / 0.7882 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/1.341, allocations: 31.91 kB / 0.7882 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/1.341, allocations: 23.98 kB / 0.7882 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000572/1.342, allocations: 0.4962 MB / 0.7887 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.342, allocations: 3.469 kB / 0.7887 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00445/1.346, allocations: 1.518 MB / 0.7902 GB, free: 161.6 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.008411/1.355, allocations: 2.878 MB / 0.793 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009298/1.356, allocations: 428.6 kB / 0.7934 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.356, allocations: 0 / 0.7934 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/1.356, allocations: 276.9 kB / 0.7937 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.357, allocations: 142 kB / 0.7938 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.401/2.759, allocations: 0.6072 GB / 1.401 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/2.759, allocations: 0.9856 MB / 1.402 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007887/2.76, allocations: 0.5293 MB / 1.402 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/2.76, allocations: 335.2 kB / 1.403 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/2.76, allocations: 0 / 1.403 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09486/2.855, allocations: 63.6 MB / 1.465 GB, free: 69.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/15.02, allocations: 15.42 kB / 1.465 GB, free: 69.33 MB / 0.5606 GB (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 --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)