Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.01437/0.01437, allocations: 175.7 kB / 15.12 MB, free: 5.984 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 2.199/2.199, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002387/0.002387, allocations: 128.5 kB / 255.6 MB, free: 10.23 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.261/0.261, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004847, allocations: 13.5 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 54.88 MB / 461.2 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.176/2.281, allocations: 0.6367 GB / 1.087 GB, free: 122.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/2.282, allocations: 96.88 kB / 1.087 GB, free: 122.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203/3.484, allocations: 230.2 MB / 1.312 GB, free: 95.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.584e-06/3.484, allocations: 0 / 1.312 GB, free: 95.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.534e-05/3.485, allocations: 16.34 kB / 1.312 GB, free: 95.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004881/3.489, allocations: 1.235 MB / 1.313 GB, free: 94.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/3.49, allocations: 11.47 kB / 1.313 GB, free: 94.49 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002788/3.49, allocations: 101.6 kB / 1.313 GB, free: 94.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/3.492, allocations: 133.5 kB / 1.313 GB, free: 94.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/3.494, allocations: 0.5518 MB / 1.314 GB, free: 94.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/3.494, allocations: 105.9 kB / 1.314 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/3.494, allocations: 54.27 kB / 1.314 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/3.497, allocations: 0.7997 MB / 1.315 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/3.497, allocations: 9.812 kB / 1.315 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/3.497, allocations: 24.66 kB / 1.315 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.84e-05/3.497, allocations: 34.36 kB / 1.315 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/3.499, allocations: 0.6141 MB / 1.316 GB, free: 93.89 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.007674/3.507, allocations: 3.918 MB / 1.319 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/3.508, allocations: 324.9 kB / 1.32 GB, free: 91.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/3.508, allocations: 26.52 kB / 1.32 GB, free: 91.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/3.508, allocations: 44 kB / 1.32 GB, free: 91.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.028e-06/3.508, allocations: 0 / 1.32 GB, free: 91.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.01007/3.518, allocations: 1.617 MB / 1.321 GB, free: 90.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/3.518, allocations: 132 kB / 1.321 GB, free: 90.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/3.519, allocations: 0.5284 MB / 1.322 GB, free: 90.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/3.519, allocations: 40.86 kB / 1.322 GB, free: 90.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/3.52, allocations: 373.8 kB / 1.322 GB, free: 90.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/3.52, allocations: 146.6 kB / 1.323 GB, free: 90.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/3.52, allocations: 14.75 kB / 1.323 GB, free: 90.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/3.52, allocations: 376.9 kB / 1.323 GB, free: 89.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/3.521, allocations: 204.3 kB / 1.323 GB, free: 89.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/3.521, allocations: 0.5229 MB / 1.324 GB, free: 89.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/3.522, allocations: 306.8 kB / 1.324 GB, free: 89.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/3.522, allocations: 3.25 kB / 1.324 GB, free: 89.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002295/3.524, allocations: 0.8834 MB / 1.325 GB, free: 89.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/3.524, allocations: 13.47 kB / 1.325 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/3.525, allocations: 12.09 kB / 1.325 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/3.527, allocations: 311.1 kB / 1.325 GB, free: 89.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/3.528, allocations: 129.1 kB / 1.325 GB, free: 89.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.529, allocations: 0.9002 MB / 1.326 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/3.53, allocations: 50.06 kB / 1.326 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/3.531, allocations: 75.89 kB / 1.326 GB, free: 88.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/3.531, allocations: 250.9 kB / 1.326 GB, free: 88.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/3.531, allocations: 65.47 kB / 1.326 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/3.534, allocations: 0.6598 MB / 1.327 GB, free: 88.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/3.534, allocations: 11.42 kB / 1.327 GB, free: 88.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/3.534, allocations: 0 / 1.327 GB, free: 88.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/3.534, allocations: 3.422 kB / 1.327 GB, free: 88.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/3.536, allocations: 1.256 MB / 1.328 GB, free: 88.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/3.536, allocations: 3.906 kB / 1.328 GB, free: 88.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/3.538, allocations: 212.1 kB / 1.329 GB, free: 88.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/3.538, allocations: 27.7 kB / 1.329 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/3.538, allocations: 13.72 kB / 1.329 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/3.54, allocations: 2.699 MB / 1.331 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/3.54, allocations: 7.453 kB / 1.331 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/3.542, allocations: 0.837 MB / 1.332 GB, free: 85.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/3.543, allocations: 174.5 kB / 1.332 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/3.543, allocations: 15.44 kB / 1.332 GB, free: 85.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/3.544, allocations: 26.16 kB / 1.332 GB, free: 85.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/3.544, allocations: 49.45 kB / 1.332 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/3.544, allocations: 45.12 kB / 1.332 GB, free: 85.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000706/3.545, allocations: 414 kB / 1.333 GB, free: 85.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.545, allocations: 0.6562 kB / 1.333 GB, free: 85.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00201/3.547, allocations: 385.3 kB / 1.333 GB, free: 85.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005296/3.552, allocations: 2.68 MB / 1.336 GB, free: 83.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/3.554, allocations: 0.5402 MB / 1.336 GB, free: 83.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/3.554, allocations: 0 / 1.336 GB, free: 83.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/3.556, allocations: 399.8 kB / 1.337 GB, free: 83.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/3.558, allocations: 326.7 kB / 1.337 GB, free: 83.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/3.577, allocations: 12.91 MB / 1.35 GB, free: 74.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/3.577, allocations: 0.9441 MB / 1.35 GB, free: 74.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001807/3.579, allocations: 264.3 kB / 1.351 GB, free: 74.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007559/3.58, allocations: 268.5 kB / 1.351 GB, free: 74.07 MB / 490.7 MB Notification: Performance of SimCode: time 2.214e-06/3.58, allocations: 0 / 1.351 GB, free: 74.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0834/3.663, allocations: 35.57 MB / 1.386 GB, free: 68 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/3.663, allocations: 262.9 kB / 1.386 GB, free: 67.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.976/7.64, allocations: 4 kB / 1.386 GB, free: 67.64 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat