Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009935/0.009935, allocations: 175.1 kB / 15.12 MB, free: 5.934 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.075/2.075, 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.002633/0.002633, allocations: 120.6 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.3242/0.3242, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 12 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1026, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.369, allocations: 424.6 MB / 0.865 GB, free: 35.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/1.37, allocations: 99.31 kB / 0.8651 GB, free: 35.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7916/2.161, allocations: 132.6 MB / 0.9946 GB, free: 111.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.946e-06/2.161, allocations: 3.984 kB / 0.9946 GB, free: 111.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.276e-05/2.161, allocations: 24 kB / 0.9946 GB, free: 111.9 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.002553/2.164, allocations: 0.9827 MB / 0.9956 GB, free: 110.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/2.164, allocations: 12.03 kB / 0.9956 GB, free: 110.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/2.164, allocations: 94.52 kB / 0.9957 GB, free: 110.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004472/2.165, allocations: 87.14 kB / 0.9958 GB, free: 110.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/2.166, allocations: 0.55 MB / 0.9963 GB, free: 110.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/2.166, allocations: 98.98 kB / 0.9964 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/2.166, allocations: 54.09 kB / 0.9964 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/2.168, allocations: 0.8023 MB / 0.9972 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/2.168, allocations: 7.938 kB / 0.9972 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/2.168, allocations: 26.5 kB / 0.9973 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-05/2.168, allocations: 40.98 kB / 0.9973 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/2.17, allocations: 0.6438 MB / 0.9979 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005786/2.176, allocations: 3.637 MB / 1.001 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/2.177, allocations: 392.1 kB / 1.002 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00257/2.179, allocations: 1.644 MB / 1.003 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/2.179, allocations: 34.56 kB / 1.003 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/2.179, allocations: 4 kB / 1.003 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.00434/2.184, allocations: 1.434 MB / 1.005 GB, free: 100.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/2.184, allocations: 132.5 kB / 1.005 GB, free: 100.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/2.185, allocations: 0.4967 MB / 1.006 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/2.185, allocations: 37.7 kB / 1.006 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/2.185, allocations: 378.8 kB / 1.006 GB, free: 99.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/2.185, allocations: 148.4 kB / 1.006 GB, free: 99.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/2.185, allocations: 16 kB / 1.006 GB, free: 99.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/2.185, allocations: 370.8 kB / 1.006 GB, free: 99.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/2.186, allocations: 209.9 kB / 1.007 GB, free: 98.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/2.187, allocations: 0.5353 MB / 1.007 GB, free: 98.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/2.187, allocations: 303.7 kB / 1.007 GB, free: 97.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/2.187, allocations: 4 kB / 1.007 GB, free: 97.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00227/2.19, allocations: 0.8918 MB / 1.008 GB, free: 97.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/2.19, allocations: 8 kB / 1.008 GB, free: 97.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/2.19, allocations: 12 kB / 1.008 GB, free: 97.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/2.192, allocations: 265 kB / 1.009 GB, free: 96.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/2.193, allocations: 131.8 kB / 1.009 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/2.194, allocations: 0.8476 MB / 1.01 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/2.195, allocations: 51.98 kB / 1.01 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/2.195, allocations: 39.98 kB / 1.01 GB, free: 95.7 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 (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.0004936/2.196, allocations: 241.9 kB / 1.01 GB, free: 95.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/2.196, allocations: 75.11 kB / 1.01 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/2.197, allocations: 0.7118 MB / 1.011 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/2.197, allocations: 4 kB / 1.011 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/2.197, allocations: 0 / 1.011 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/2.198, allocations: 7.984 kB / 1.011 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/2.2, allocations: 1.344 MB / 1.012 GB, free: 93.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/2.2, allocations: 4.188 kB / 1.012 GB, free: 93.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/2.202, allocations: 199.8 kB / 1.012 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/2.202, allocations: 28.78 kB / 1.012 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/2.202, allocations: 11.98 kB / 1.012 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/2.204, allocations: 2.692 MB / 1.015 GB, free: 89.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.204, allocations: 3.938 kB / 1.015 GB, free: 89.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/2.206, allocations: 1.007 MB / 1.016 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/2.207, allocations: 204.2 kB / 1.016 GB, free: 88.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/2.207, allocations: 11.94 kB / 1.016 GB, free: 88.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/2.208, allocations: 36.03 kB / 1.016 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/2.208, allocations: 27.95 kB / 1.016 GB, free: 88.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/2.208, allocations: 23.98 kB / 1.016 GB, free: 88.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006691/2.209, allocations: 399.1 kB / 1.016 GB, free: 88.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.209, allocations: 0 / 1.016 GB, free: 88.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001243/2.21, allocations: 227.9 kB / 1.017 GB, free: 87.96 MB / 490.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.002897/2.213, allocations: 2.206 MB / 1.019 GB, free: 85.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/2.215, allocations: 0.5851 MB / 1.019 GB, free: 85.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/2.215, allocations: 4 kB / 1.019 GB, free: 85.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/2.216, allocations: 422.5 kB / 1.02 GB, free: 84.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/2.219, allocations: 303.1 kB / 1.02 GB, free: 84.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/2.229, allocations: 11.4 MB / 1.031 GB, free: 72.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/2.229, allocations: 0.9502 MB / 1.032 GB, free: 71.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001178/2.231, allocations: 205.7 kB / 1.032 GB, free: 71.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/2.231, allocations: 239.3 kB / 1.033 GB, free: 71.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/2.231, allocations: 0 / 1.033 GB, free: 71.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/2.29, allocations: 20.91 MB / 1.053 GB, free: 50.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/2.291, allocations: 269.9 kB / 1.053 GB, free: 50.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/5.521, allocations: 3.938 kB / 1.053 GB, free: 50.07 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat