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.001749/0.001749, 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.001918/0.001918, 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.409/1.409, allocations: 227.4 MB / 247 MB, free: 10.46 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.2216/0.2216, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002529/0.002529, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3249, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0184/0.3434, allocations: 13.92 MB / 0.5442 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03177/0.3752, allocations: 26.61 MB / 0.5702 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.3755, allocations: 4 kB / 0.5702 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.376, allocations: 95.39 kB / 0.5703 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02652/0.4025, allocations: 8.539 MB / 0.5787 GB, free: 444 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.4034, allocations: 349.4 kB / 0.579 GB, free: 100 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004754/0.4082, allocations: 1.998 MB / 0.5809 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.4083, allocations: 16.41 kB / 0.581 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.4089, allocations: 270.8 kB / 0.5812 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007541/0.4164, allocations: 3.25 MB / 0.5844 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.4165, allocations: 15.94 kB / 0.5844 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/0.4399, allocations: 11.63 MB / 0.5958 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.4401, allocations: 47.77 kB / 0.5958 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.4404, allocations: 131.4 kB / 0.5959 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.4593, allocations: 6.774 MB / 0.6025 GB, free: 7.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.4594, allocations: 0 / 0.6025 GB, free: 7.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4594, allocations: 0 / 0.6025 GB, free: 7.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.4594, allocations: 0 / 0.6025 GB, free: 7.859 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.005616/0.465, allocations: 1.674 MB / 0.6042 GB, free: 6.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4651, allocations: 8.031 kB / 0.6042 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.579e-05/0.4652, allocations: 70.72 kB / 0.6043 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.4667, allocations: 196.5 kB / 0.6044 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.4672, allocations: 267.9 kB / 0.6047 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.4672, allocations: 25.03 kB / 0.6047 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.4673, allocations: 31.94 kB / 0.6048 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.4694, allocations: 0.7603 MB / 0.6055 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4695, allocations: 3.938 kB / 0.6055 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.4695, allocations: 16 kB / 0.6055 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4695, allocations: 8 kB / 0.6055 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.4717, allocations: 0.8176 MB / 0.6063 GB, free: 3.84 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.003409/0.4752, allocations: 2.695 MB / 0.609 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4765, allocations: 358.2 kB / 0.6093 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.4767, allocations: 76.77 kB / 0.6094 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6146/1.091, allocations: 147.8 MB / 0.7537 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/1.092, allocations: 454.2 kB / 0.7542 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/1.092, allocations: 0 / 0.7542 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003269/1.096, allocations: 1.137 MB / 0.7553 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.096, allocations: 383.9 kB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/1.096, allocations: 182.7 kB / 0.7558 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.096, allocations: 29.7 kB / 0.7559 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/1.096, allocations: 199.9 kB / 0.7561 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/1.096, allocations: 116.6 kB / 0.7562 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.096, allocations: 130.1 kB / 0.7563 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/1.096, allocations: 330.8 kB / 0.7566 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.096, allocations: 81.06 kB / 0.7567 GB, free: 169 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/1.097, allocations: 345.5 kB / 0.757 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/1.097, allocations: 483.3 kB / 0.7575 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.097, allocations: 4 kB / 0.7575 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006641/1.098, allocations: 469.5 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.098, allocations: 10.34 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.098, allocations: 12 kB / 0.7579 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.098, allocations: 13.59 kB / 0.758 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.099, allocations: 207.7 kB / 0.7582 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003333/1.099, allocations: 1.19 MB / 0.7593 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/1.1, allocations: 26.19 kB / 0.7593 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/1.1, allocations: 43.98 kB / 0.7594 GB, free: 165.9 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.0001368/1.1, allocations: 165.9 kB / 0.7595 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/1.1, allocations: 27.86 kB / 0.7596 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/1.102, allocations: 2.835 MB / 0.7623 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.102, allocations: 27.97 kB / 0.7624 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.102, allocations: 4 kB / 0.7624 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.102, allocations: 4 kB / 0.7624 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/1.103, allocations: 0.975 MB / 0.7633 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.103, allocations: 4 kB / 0.7633 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/1.103, allocations: 96.89 kB / 0.7634 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/1.103, allocations: 158.8 kB / 0.7636 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.103, allocations: 11.98 kB / 0.7636 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002231/1.104, allocations: 0.645 MB / 0.7642 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.104, allocations: 13.03 kB / 0.7642 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/1.104, allocations: 0.9759 MB / 0.7652 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/1.105, allocations: 140.3 kB / 0.7653 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/1.105, allocations: 94.52 kB / 0.7654 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/1.105, allocations: 15.98 kB / 0.7654 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/1.105, allocations: 34.69 kB / 0.7654 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/1.105, allocations: 16 kB / 0.7655 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003916/1.105, allocations: 475 kB / 0.7659 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.105, allocations: 0 / 0.7659 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003445/1.109, allocations: 1.632 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.006761/1.116, allocations: 3.17 MB / 0.7706 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0014/1.117, allocations: 0.541 MB / 0.7711 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.117, allocations: 0 / 0.7711 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/1.117, allocations: 357.6 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.0007725/1.118, allocations: 126.9 kB / 0.7716 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6336/1.752, allocations: 353.3 MB / 1.117 GB, free: 66.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/1.752, allocations: 0.982 MB / 1.118 GB, free: 65.15 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006001/1.753, allocations: 0.5074 MB / 1.118 GB, free: 64.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/1.753, allocations: 319.3 kB / 1.118 GB, free: 64.35 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/1.753, allocations: 3.938 kB / 1.118 GB, free: 64.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3224/2.075, allocations: 66.43 MB / 1.183 GB, free: 220.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/19, allocations: 5.969 kB / 1.183 GB, free: 220.7 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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)