Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01362/0.01362, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.818/1.818, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002023/0.002023, allocations: 107 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5491/0.5491, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.67/11.8, allocations: 3.661 GB / 4.063 GB, free: 7.523 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/11.8, allocations: 95.95 kB / 4.063 GB, free: 7.473 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.608/14.4, allocations: 429.5 MB / 4.482 GB, free: 50.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/14.4, allocations: 3.781 kB / 4.482 GB, free: 50.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.273e-05/14.4, allocations: 19.75 kB / 4.482 GB, free: 50.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00973/14.41, allocations: 2.434 MB / 4.485 GB, free: 49.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/14.41, allocations: 10.5 kB / 4.485 GB, free: 49.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/14.41, allocations: 128.9 kB / 4.485 GB, free: 49.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/14.42, allocations: 111.1 kB / 4.485 GB, free: 49.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/14.42, allocations: 0.6428 MB / 4.486 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/14.42, allocations: 120.9 kB / 4.486 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/14.42, allocations: 68.97 kB / 4.486 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/14.42, allocations: 1.138 MB / 4.487 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/14.42, allocations: 9 kB / 4.487 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/14.42, allocations: 30.81 kB / 4.487 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.609e-05/14.42, allocations: 55.2 kB / 4.487 GB, free: 48.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/14.42, allocations: 1.145 MB / 4.488 GB, free: 48.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008662/14.43, allocations: 4.4 MB / 4.492 GB, free: 46.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/14.43, allocations: 0.7596 MB / 4.493 GB, free: 46.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/14.44, allocations: 1.576 MB / 4.495 GB, free: 45.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/14.44, allocations: 41.03 kB / 4.495 GB, free: 45.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.307e-06/14.44, allocations: 0 / 4.495 GB, free: 45.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02282/14.46, allocations: 4.179 MB / 4.499 GB, free: 44.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/14.46, allocations: 114.6 kB / 4.499 GB, free: 44.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/14.46, allocations: 0.5536 MB / 4.499 GB, free: 44.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/14.46, allocations: 41.11 kB / 4.499 GB, free: 44.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/14.46, allocations: 398 kB / 4.5 GB, free: 44.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/14.46, allocations: 292.4 kB / 4.5 GB, free: 43.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/14.46, allocations: 19.66 kB / 4.5 GB, free: 43.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/14.46, allocations: 392.6 kB / 4.501 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/14.46, allocations: 482.3 kB / 4.501 GB, free: 43.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/14.46, allocations: 0.7809 MB / 4.502 GB, free: 43.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/14.47, allocations: 0.5812 MB / 4.502 GB, free: 43.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/14.47, allocations: 3.812 kB / 4.502 GB, free: 43.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005162/14.47, allocations: 1.662 MB / 4.504 GB, free: 43.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/14.47, allocations: 9.781 kB / 4.504 GB, free: 43.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/14.47, allocations: 9.188 kB / 4.504 GB, free: 43.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/14.48, allocations: 1.421 MB / 4.505 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/14.49, allocations: 171.7 kB / 4.506 GB, free: 43.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/14.49, allocations: 1.5 MB / 4.507 GB, free: 42.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/14.49, allocations: 98.88 kB / 4.507 GB, free: 42.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/14.49, allocations: 65.69 kB / 4.507 GB, free: 42.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0007351/14.49, allocations: 303.8 kB / 4.507 GB, free: 42.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/14.49, allocations: 80.41 kB / 4.508 GB, free: 42.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/14.5, allocations: 1.613 MB / 4.509 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/14.5, allocations: 18.48 kB / 4.509 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/14.5, allocations: 0 / 4.509 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/14.5, allocations: 1.875 kB / 4.509 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/14.5, allocations: 2.436 MB / 4.511 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.463e-06/14.5, allocations: 0 / 4.511 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/14.51, allocations: 264.8 kB / 4.512 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/14.51, allocations: 402.2 kB / 4.512 GB, free: 40.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/14.51, allocations: 34.86 kB / 4.512 GB, free: 40.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/14.51, allocations: 2.287 MB / 4.514 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/14.51, allocations: 0 / 4.514 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/14.52, allocations: 2.003 MB / 4.516 GB, free: 37.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/14.52, allocations: 286.3 kB / 4.517 GB, free: 37.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/14.52, allocations: 20.69 kB / 4.517 GB, free: 37.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/14.52, allocations: 81.2 kB / 4.517 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/14.52, allocations: 61.42 kB / 4.517 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/14.52, allocations: 49.95 kB / 4.517 GB, free: 37.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007754/14.52, allocations: 453.4 kB / 4.517 GB, free: 37.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/14.52, allocations: 0 / 4.517 GB, free: 37.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003514/14.53, allocations: 0.8211 MB / 4.518 GB, free: 37.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01045/14.54, allocations: 4.426 MB / 4.522 GB, free: 34.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003945/14.54, allocations: 1.209 MB / 4.524 GB, free: 34.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/14.54, allocations: 0 / 4.524 GB, free: 34.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002608/14.54, allocations: 0.6758 MB / 4.524 GB, free: 34.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/14.55, allocations: 432.3 kB / 4.525 GB, free: 34.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/14.57, allocations: 13 MB / 4.537 GB, free: 23.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/14.57, allocations: 1.064 MB / 4.538 GB, free: 22.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001897/14.57, allocations: 294.6 kB / 4.539 GB, free: 22.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007708/14.57, allocations: 339 kB / 4.539 GB, free: 22.43 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/14.57, allocations: 4 kB / 4.539 GB, free: 22.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4804/15.05, allocations: 52.07 MB / 4.59 GB, free: 66.17 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/15.05, allocations: 269 kB / 4.59 GB, free: 65.81 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.876/19.93, allocations: 0 / 4.59 GB, free: 65.81 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat