Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01003/0.01003, allocations: 176.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.948/1.948, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002002/0.002002, allocations: 116.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.279/0.279, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 12.02 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.178/8.283, allocations: 2.584 GB / 3.034 GB, free: 89.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/8.283, allocations: 86.95 kB / 3.034 GB, free: 89.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.24/9.523, allocations: 215.4 MB / 3.244 GB, free: 80.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.504e-06/9.523, allocations: 0 / 3.244 GB, free: 80.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/9.523, allocations: 8 kB / 3.244 GB, free: 80.07 MB / 490.7 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.01071/9.533, allocations: 1.747 MB / 3.246 GB, free: 78.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/9.533, allocations: 8.031 kB / 3.246 GB, free: 78.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/9.534, allocations: 64.03 kB / 3.246 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/9.537, allocations: 196.3 kB / 3.246 GB, free: 78.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/9.538, allocations: 270.8 kB / 3.247 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/9.538, allocations: 23.61 kB / 3.247 GB, free: 77.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/9.538, allocations: 33.77 kB / 3.247 GB, free: 77.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/9.542, allocations: 0.7393 MB / 3.247 GB, free: 77.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/9.542, allocations: 0 / 3.247 GB, free: 77.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/9.542, allocations: 13.44 kB / 3.247 GB, free: 77.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/9.542, allocations: 8 kB / 3.247 GB, free: 77.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/9.547, allocations: 0.8032 MB / 3.248 GB, free: 76.5 MB / 490.7 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.006567/9.553, allocations: 2.908 MB / 3.251 GB, free: 73.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/9.556, allocations: 350.7 kB / 3.251 GB, free: 73.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9624/10.52, allocations: 139.9 MB / 3.388 GB, free: 60.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/10.52, allocations: 445.2 kB / 3.388 GB, free: 60.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.948e-06/10.52, allocations: 0 / 3.388 GB, free: 60.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.005704/10.53, allocations: 1.09 MB / 3.389 GB, free: 59.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/10.53, allocations: 371.7 kB / 3.39 GB, free: 59.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/10.53, allocations: 176.9 kB / 3.39 GB, free: 59.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/10.53, allocations: 36.64 kB / 3.39 GB, free: 59.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/10.53, allocations: 185.6 kB / 3.39 GB, free: 59.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/10.53, allocations: 116.4 kB / 3.39 GB, free: 59.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/10.53, allocations: 12.22 kB / 3.39 GB, free: 59.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/10.53, allocations: 330.1 kB / 3.391 GB, free: 58.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/10.53, allocations: 76.06 kB / 3.391 GB, free: 58.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/10.53, allocations: 341 kB / 3.391 GB, free: 58.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/10.53, allocations: 128.2 kB / 3.391 GB, free: 58.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/10.53, allocations: 3.75 kB / 3.391 GB, free: 58.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001184/10.53, allocations: 458.6 kB / 3.392 GB, free: 58.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/10.53, allocations: 11.06 kB / 3.392 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/10.53, allocations: 7.281 kB / 3.392 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/10.53, allocations: 15.41 kB / 3.392 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/10.53, allocations: 200.4 kB / 3.392 GB, free: 58.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005899/10.53, allocations: 1.184 MB / 3.393 GB, free: 57.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/10.53, allocations: 26.77 kB / 3.393 GB, free: 57.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/10.53, allocations: 42.5 kB / 3.393 GB, free: 57.28 MB / 490.7 MB 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002717/10.53, allocations: 171 kB / 3.393 GB, free: 57.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/10.53, allocations: 26.78 kB / 3.393 GB, free: 57.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/10.54, allocations: 2.833 MB / 3.396 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/10.54, allocations: 24.19 kB / 3.396 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/10.54, allocations: 10.66 kB / 3.396 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/10.54, allocations: 3.656 kB / 3.396 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/10.54, allocations: 0.97 MB / 3.397 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/10.54, allocations: 9.016 kB / 3.397 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/10.54, allocations: 94.45 kB / 3.397 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/10.54, allocations: 162 kB / 3.397 GB, free: 56.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/10.54, allocations: 19.78 kB / 3.397 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004246/10.54, allocations: 0.6365 MB / 3.398 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/10.54, allocations: 10.45 kB / 3.398 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/10.54, allocations: 1.098 MB / 3.399 GB, free: 55.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/10.54, allocations: 358.4 kB / 3.399 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/10.54, allocations: 11.25 kB / 3.399 GB, free: 55.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/10.54, allocations: 20.59 kB / 3.399 GB, free: 55.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/10.54, allocations: 30.17 kB / 3.399 GB, free: 55.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/10.54, allocations: 17.89 kB / 3.399 GB, free: 55.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007372/10.55, allocations: 463.8 kB / 3.4 GB, free: 55.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.55, allocations: 0 / 3.4 GB, free: 55.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007812/10.55, allocations: 1.64 MB / 3.401 GB, free: 55.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01674/10.57, allocations: 4.258 MB / 3.405 GB, free: 53.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/10.57, allocations: 0.5212 MB / 3.406 GB, free: 53.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/10.57, allocations: 0.8125 kB / 3.406 GB, free: 53.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/10.57, allocations: 370.2 kB / 3.406 GB, free: 53.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/10.57, allocations: 123.9 kB / 3.406 GB, free: 53.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.642/13.22, allocations: 0.5734 GB / 3.98 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/13.22, allocations: 1.004 MB / 3.981 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001212/13.22, allocations: 498.9 kB / 3.981 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/13.22, allocations: 310.1 kB / 3.982 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.024e-06/13.22, allocations: 4 kB / 3.982 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/13.33, allocations: 48.57 MB / 4.029 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/13.33, allocations: 229.1 kB / 4.029 GB, free: 41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.84/18.17, allocations: 4.062 kB / 4.029 GB, free: 40.99 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat