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_pT.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_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.45 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.2152/0.2152, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.003205/0.003205, allocations: 83.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3327, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01885/0.3517, allocations: 13.92 MB / 0.5442 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03199/0.3837, allocations: 26.61 MB / 0.5702 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.384, allocations: 8 kB / 0.5702 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3844, allocations: 91.39 kB / 0.5703 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02499/0.4094, allocations: 8.532 MB / 0.5787 GB, free: 432 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009661/0.4104, allocations: 345.7 kB / 0.579 GB, free: 92 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00477/0.4151, allocations: 2.002 MB / 0.5809 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.4152, allocations: 16.41 kB / 0.581 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.4158, allocations: 270.9 kB / 0.5812 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007336/0.4231, allocations: 3.254 MB / 0.5844 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.4233, allocations: 12 kB / 0.5844 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0262/0.4495, allocations: 11.62 MB / 0.5957 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4496, allocations: 47.81 kB / 0.5958 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.4499, allocations: 139.3 kB / 0.5959 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.4686, allocations: 6.774 MB / 0.6025 GB, free: 7.852 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.4687, allocations: 4 kB / 0.6025 GB, free: 7.848 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4687, allocations: 3.938 kB / 0.6025 GB, free: 7.844 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.4687, allocations: 0 / 0.6025 GB, free: 7.844 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.004803/0.4735, allocations: 1.67 MB / 0.6042 GB, free: 6.117 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4736, allocations: 8.031 kB / 0.6042 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.606e-05/0.4737, allocations: 70.72 kB / 0.6043 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.4752, allocations: 188.5 kB / 0.6044 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4756, allocations: 275.9 kB / 0.6047 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.4756, allocations: 24.97 kB / 0.6047 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.4757, allocations: 39.92 kB / 0.6048 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4778, allocations: 0.7525 MB / 0.6055 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4778, allocations: 3.938 kB / 0.6055 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.4779, allocations: 20 kB / 0.6055 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.4779, allocations: 8 kB / 0.6055 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.4801, allocations: 0.8137 MB / 0.6063 GB, free: 3.828 MB / 462.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.003562/0.4837, allocations: 2.699 MB / 0.609 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.4849, allocations: 356.9 kB / 0.6093 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.485, allocations: 68.83 kB / 0.6094 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6078/1.093, allocations: 147.9 MB / 0.7537 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/1.094, allocations: 454.3 kB / 0.7542 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/1.094, allocations: 0 / 0.7542 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003288/1.097, allocations: 1.141 MB / 0.7553 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/1.097, allocations: 375.8 kB / 0.7557 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.098, allocations: 181.9 kB / 0.7558 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/1.098, allocations: 36.11 kB / 0.7559 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/1.098, allocations: 191.2 kB / 0.756 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/1.098, allocations: 118.6 kB / 0.7562 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/1.098, allocations: 130.2 kB / 0.7563 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/1.098, allocations: 330.8 kB / 0.7566 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/1.098, allocations: 81.06 kB / 0.7567 GB, free: 169 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.098, allocations: 352.8 kB / 0.757 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/1.099, allocations: 472.3 kB / 0.7575 GB, free: 168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.099, allocations: 4 kB / 0.7575 GB, free: 168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006955/1.099, allocations: 472.9 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.099, allocations: 8 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.099, allocations: 15.94 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.099, allocations: 12 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.101, allocations: 212.4 kB / 0.7582 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003349/1.101, allocations: 1.186 MB / 0.7593 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/1.101, allocations: 22.53 kB / 0.7593 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/1.102, allocations: 43.98 kB / 0.7594 GB, free: 166 MB / 0.5762 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.0001259/1.102, allocations: 170.3 kB / 0.7595 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/1.102, allocations: 31.86 kB / 0.7596 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/1.104, allocations: 2.835 MB / 0.7623 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.104, allocations: 29.59 kB / 0.7624 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/1.104, allocations: 4 kB / 0.7624 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.104, allocations: 7.984 kB / 0.7624 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/1.104, allocations: 0.9716 MB / 0.7633 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.104, allocations: 4 kB / 0.7633 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/1.105, allocations: 99.58 kB / 0.7634 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/1.105, allocations: 163 kB / 0.7636 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/1.105, allocations: 11.98 kB / 0.7636 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002254/1.105, allocations: 0.6411 MB / 0.7642 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.105, allocations: 4 kB / 0.7642 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/1.106, allocations: 0.9836 MB / 0.7652 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/1.106, allocations: 135.8 kB / 0.7653 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/1.106, allocations: 94.94 kB / 0.7654 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/1.107, allocations: 19.98 kB / 0.7654 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/1.107, allocations: 38.69 kB / 0.7655 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/1.107, allocations: 15.98 kB / 0.7655 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004027/1.107, allocations: 471 kB / 0.7659 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.107, allocations: 0 / 0.7659 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003449/1.111, allocations: 1.631 MB / 0.7675 GB, free: 157.7 MB / 0.5762 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.007121/1.118, allocations: 3.16 MB / 0.7706 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.119, allocations: 0.54 MB / 0.7711 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.119, allocations: 1.75 kB / 0.7711 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/1.12, allocations: 362.1 kB / 0.7715 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/1.12, allocations: 133.8 kB / 0.7716 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6569/1.777, allocations: 353.3 MB / 1.117 GB, free: 66.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.778, allocations: 0.982 MB / 1.118 GB, free: 65.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005565/1.778, allocations: 0.5055 MB / 1.118 GB, free: 64.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/1.778, allocations: 323.3 kB / 1.118 GB, free: 64.46 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/1.778, allocations: 3.938 kB / 1.118 GB, free: 64.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/2.104, allocations: 66.43 MB / 1.183 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.86, allocations: 4.812 kB / 1.183 GB, free: 220.9 MB / 0.6075 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)