Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.01037/0.01037, allocations: 164.6 kB / 15.11 MB, free: 5.934 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.749/1.749, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.002073/0.002073, allocations: 103.4 kB / 226.2 MB, free: 10.12 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.4526/0.4526, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004983, allocations: 11.98 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.507/1.622, allocations: 418.2 MB / 0.8105 GB, free: 86.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.623, allocations: 94.73 kB / 0.8106 GB, free: 86.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7261/2.349, allocations: 132.6 MB / 0.94 GB, free: 85.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/2.349, allocations: 0 / 0.94 GB, free: 85.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.459e-05/2.349, allocations: 28.53 kB / 0.9401 GB, free: 85 MB / 426.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.002684/2.352, allocations: 0.9757 MB / 0.941 GB, free: 84.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/2.352, allocations: 8.812 kB / 0.941 GB, free: 84.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/2.352, allocations: 102.7 kB / 0.9411 GB, free: 84.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/2.352, allocations: 94.89 kB / 0.9412 GB, free: 84.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/2.354, allocations: 0.5546 MB / 0.9418 GB, free: 84.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/2.354, allocations: 102.7 kB / 0.9419 GB, free: 84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/2.354, allocations: 50.88 kB / 0.9419 GB, free: 84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/2.356, allocations: 0.7914 MB / 0.9427 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/2.356, allocations: 4.5 kB / 0.9427 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/2.356, allocations: 28.11 kB / 0.9427 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.429e-05/2.357, allocations: 45.59 kB / 0.9427 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/2.358, allocations: 0.6342 MB / 0.9434 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006377/2.365, allocations: 3.63 MB / 0.9469 GB, free: 81.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/2.366, allocations: 392.8 kB / 0.9473 GB, free: 81.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/2.369, allocations: 1.641 MB / 0.9489 GB, free: 80.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/2.369, allocations: 37.47 kB / 0.9489 GB, free: 80.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.747e-06/2.369, allocations: 0 / 0.9489 GB, free: 80.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.005168/2.374, allocations: 1.435 MB / 0.9503 GB, free: 79.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/2.375, allocations: 136.1 kB / 0.9505 GB, free: 79.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/2.376, allocations: 0.4918 MB / 0.9509 GB, free: 79.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/2.376, allocations: 36.2 kB / 0.951 GB, free: 79.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008457/2.377, allocations: 375 kB / 0.9513 GB, free: 79.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006069/2.377, allocations: 153.5 kB / 0.9515 GB, free: 79.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/2.378, allocations: 15.22 kB / 0.9515 GB, free: 79.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/2.378, allocations: 377.8 kB / 0.9518 GB, free: 78.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/2.379, allocations: 212.6 kB / 0.9521 GB, free: 78.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/2.379, allocations: 0.536 MB / 0.9526 GB, free: 78.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/2.38, allocations: 312.3 kB / 0.9529 GB, free: 78.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/2.38, allocations: 2.906 kB / 0.9529 GB, free: 78.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002678/2.383, allocations: 0.8863 MB / 0.9537 GB, free: 78.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/2.383, allocations: 16.8 kB / 0.9538 GB, free: 78.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/2.383, allocations: 11 kB / 0.9538 GB, free: 78.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002269/2.385, allocations: 263.6 kB / 0.954 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/2.386, allocations: 133.1 kB / 0.9541 GB, free: 77.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/2.388, allocations: 0.8395 MB / 0.955 GB, free: 77.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/2.389, allocations: 58.14 kB / 0.955 GB, free: 77.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/2.389, allocations: 35.28 kB / 0.9551 GB, free: 77.3 MB / 426.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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000568/2.389, allocations: 251.7 kB / 0.9553 GB, free: 77.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/2.39, allocations: 63.62 kB / 0.9554 GB, free: 77.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/2.392, allocations: 0.7252 MB / 0.9561 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/2.392, allocations: 10.56 kB / 0.9561 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/2.392, allocations: 0 / 0.9561 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/2.392, allocations: 0 / 0.9561 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/2.395, allocations: 1.34 MB / 0.9574 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/2.395, allocations: 3.219 kB / 0.9574 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/2.397, allocations: 192.6 kB / 0.9576 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/2.397, allocations: 30.28 kB / 0.9576 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.654e-05/2.397, allocations: 11.03 kB / 0.9576 GB, free: 75.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/2.399, allocations: 2.699 MB / 0.9602 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.399, allocations: 7.625 kB / 0.9603 GB, free: 73.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/2.401, allocations: 1.002 MB / 0.9612 GB, free: 72.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/2.402, allocations: 201 kB / 0.9614 GB, free: 72.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/2.402, allocations: 11.28 kB / 0.9614 GB, free: 72.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/2.403, allocations: 37.19 kB / 0.9615 GB, free: 72.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/2.403, allocations: 36.19 kB / 0.9615 GB, free: 72.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/2.403, allocations: 24 kB / 0.9615 GB, free: 72.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006952/2.404, allocations: 405.8 kB / 0.9619 GB, free: 72.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.404, allocations: 0 / 0.9619 GB, free: 72.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001405/2.405, allocations: 229 kB / 0.9621 GB, free: 72.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003023/2.408, allocations: 2.206 MB / 0.9643 GB, free: 70.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/2.41, allocations: 0.5754 MB / 0.9648 GB, free: 70.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/2.41, allocations: 3.844 kB / 0.9649 GB, free: 70.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/2.412, allocations: 419.8 kB / 0.9653 GB, free: 69.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/2.414, allocations: 305.7 kB / 0.9655 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/2.425, allocations: 11.38 MB / 0.9767 GB, free: 60.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/2.425, allocations: 0.9487 MB / 0.9776 GB, free: 59.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001227/2.427, allocations: 201.6 kB / 0.9778 GB, free: 59.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/2.427, allocations: 239 kB / 0.978 GB, free: 59.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/2.427, allocations: 0 / 0.978 GB, free: 59.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/2.486, allocations: 20.92 MB / 0.9984 GB, free: 56.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/2.487, allocations: 277.5 kB / 0.9987 GB, free: 55.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/6.062, allocations: 0 / 0.9987 GB, free: 55.98 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat