Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.01006/0.01006, allocations: 174.2 kB / 15.12 MB, free: 6 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.029/2.029, allocations: 194.5 MB / 210.3 MB, free: 11.2 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.001994/0.001994, allocations: 116.6 kB / 255.6 MB, free: 14.3 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.4398/0.4398, allocations: 40 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004818, allocations: 12 kB / 406.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3656, allocations: 54.86 MB / 461.1 MB, free: 24.58 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.787/2.153, allocations: 0.5035 GB / 0.9539 GB, free: 126 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/2.153, allocations: 96.2 kB / 0.9539 GB, free: 126 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/3.276, allocations: 217.7 MB / 1.167 GB, free: 108.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/3.276, allocations: 3.562 kB / 1.167 GB, free: 108.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.456e-05/3.276, allocations: 15.72 kB / 1.167 GB, free: 108.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.003516/3.28, allocations: 1.177 MB / 1.168 GB, free: 107.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/3.28, allocations: 11.69 kB / 1.168 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000223/3.28, allocations: 98.28 kB / 1.168 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/3.281, allocations: 136.8 kB / 1.168 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/3.283, allocations: 0.5506 MB / 1.168 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/3.283, allocations: 97.83 kB / 1.169 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/3.283, allocations: 53.94 kB / 1.169 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/3.285, allocations: 0.8088 MB / 1.169 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/3.285, allocations: 4.375 kB / 1.169 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/3.285, allocations: 22.31 kB / 1.169 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/3.285, allocations: 36.84 kB / 1.169 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/3.286, allocations: 0.6154 MB / 1.17 GB, free: 106.9 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.005689/3.292, allocations: 3.915 MB / 1.174 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/3.293, allocations: 327.1 kB / 1.174 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/3.293, allocations: 27 kB / 1.174 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/3.293, allocations: 43.55 kB / 1.174 GB, free: 104.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.446e-06/3.293, allocations: 3.938 kB / 1.174 GB, free: 104.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.009654/3.303, allocations: 1.628 MB / 1.176 GB, free: 103.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/3.303, allocations: 132.3 kB / 1.176 GB, free: 103.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/3.304, allocations: 0.5249 MB / 1.177 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/3.304, allocations: 35.45 kB / 1.177 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/3.305, allocations: 380.8 kB / 1.177 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/3.305, allocations: 135 kB / 1.177 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/3.305, allocations: 16.88 kB / 1.177 GB, free: 103.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/3.305, allocations: 374.4 kB / 1.177 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/3.306, allocations: 199.3 kB / 1.178 GB, free: 102.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/3.306, allocations: 0.5289 MB / 1.178 GB, free: 102.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/3.307, allocations: 296.9 kB / 1.178 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/3.307, allocations: 7.406 kB / 1.178 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002335/3.31, allocations: 0.887 MB / 1.179 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/3.31, allocations: 11.06 kB / 1.179 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/3.31, allocations: 7.75 kB / 1.179 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/3.313, allocations: 306 kB / 1.18 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/3.313, allocations: 131.8 kB / 1.18 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/3.315, allocations: 0.8951 MB / 1.181 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/3.316, allocations: 58.34 kB / 1.181 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/3.316, allocations: 65.73 kB / 1.181 GB, free: 101.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 (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.000515/3.317, allocations: 260.1 kB / 1.181 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/3.317, allocations: 62.34 kB / 1.181 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/3.319, allocations: 0.6724 MB / 1.182 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/3.319, allocations: 3.938 kB / 1.182 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/3.319, allocations: 3.656 kB / 1.182 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/3.319, allocations: 1.312 kB / 1.182 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/3.322, allocations: 1.261 MB / 1.183 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/3.322, allocations: 7.734 kB / 1.183 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/3.324, allocations: 214.9 kB / 1.183 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/3.324, allocations: 22.91 kB / 1.183 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/3.324, allocations: 19.33 kB / 1.183 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/3.326, allocations: 2.688 MB / 1.186 GB, free: 98.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/3.326, allocations: 3.938 kB / 1.186 GB, free: 98.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/3.328, allocations: 0.8414 MB / 1.187 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/3.328, allocations: 182.8 kB / 1.187 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/3.329, allocations: 11.38 kB / 1.187 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/3.329, allocations: 30.81 kB / 1.187 GB, free: 97.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/3.33, allocations: 45.3 kB / 1.187 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/3.33, allocations: 44.36 kB / 1.187 GB, free: 97.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007244/3.33, allocations: 416.8 kB / 1.187 GB, free: 97.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/3.33, allocations: 0 / 1.187 GB, free: 97.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001919/3.332, allocations: 368.6 kB / 1.188 GB, free: 97.66 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.004412/3.337, allocations: 2.677 MB / 1.19 GB, free: 96.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/3.339, allocations: 0.5468 MB / 1.191 GB, free: 95.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/3.339, allocations: 2.844 kB / 1.191 GB, free: 95.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/3.34, allocations: 404.7 kB / 1.191 GB, free: 95.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/3.343, allocations: 312.1 kB / 1.192 GB, free: 95.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/3.36, allocations: 12.9 MB / 1.204 GB, free: 85.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/3.361, allocations: 0.942 MB / 1.205 GB, free: 85.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001731/3.363, allocations: 256 kB / 1.205 GB, free: 85.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/3.364, allocations: 269.9 kB / 1.206 GB, free: 85.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/3.364, allocations: 0 / 1.206 GB, free: 85.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08376/3.447, allocations: 35.3 MB / 1.24 GB, free: 58.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/3.448, allocations: 280.5 kB / 1.24 GB, free: 57.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.001/7.449, allocations: 0 / 1.24 GB, free: 57.79 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat