Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2",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.01329/0.01329, allocations: 174.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.005/2.005, 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.002027/0.002027, allocations: 132.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.2578/0.2578, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 11.22 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 54.87 MB / 461.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.391, allocations: 456.5 MB / 0.8961 GB, free: 3.656 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.391, allocations: 76.91 kB / 0.8962 GB, free: 3.617 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4133/1.805, allocations: 29.89 MB / 0.9254 GB, free: 181.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.805, allocations: 0 / 0.9254 GB, free: 181.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/1.805, allocations: 0 / 0.9254 GB, free: 181.4 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000561/1.805, allocations: 395.5 kB / 0.9258 GB, free: 180.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.805, allocations: 12.03 kB / 0.9258 GB, free: 180.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/1.805, allocations: 42.52 kB / 0.9258 GB, free: 180.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/1.808, allocations: 184.1 kB / 0.926 GB, free: 180.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/1.808, allocations: 206.9 kB / 0.9262 GB, free: 180.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.808, allocations: 4 kB / 0.9262 GB, free: 180.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/1.808, allocations: 12 kB / 0.9262 GB, free: 180.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/1.809, allocations: 230.7 kB / 0.9264 GB, free: 180.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.809, allocations: 224 / 0.9264 GB, free: 180.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/1.809, allocations: 8 kB / 0.9264 GB, free: 180.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.809, allocations: 3.938 kB / 0.9264 GB, free: 180.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/1.81, allocations: 173.4 kB / 0.9266 GB, free: 180 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.00128/1.811, allocations: 0.5798 MB / 0.9272 GB, free: 179.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/1.812, allocations: 138.5 kB / 0.9273 GB, free: 179.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/1.812, allocations: 3.984 kB / 0.9273 GB, free: 179.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.812, allocations: 34.56 kB / 0.9273 GB, free: 179.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/1.812, allocations: 0 / 0.9273 GB, free: 179.2 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.008614/1.82, allocations: 1.298 MB / 0.9286 GB, free: 177.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/1.821, allocations: 63.3 kB / 0.9287 GB, free: 177.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/1.821, allocations: 116.8 kB / 0.9288 GB, free: 177.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/1.821, allocations: 25.7 kB / 0.9288 GB, free: 177.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/1.821, allocations: 92.05 kB / 0.9289 GB, free: 177.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/1.821, allocations: 70.98 kB / 0.9289 GB, free: 177.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/1.821, allocations: 8 kB / 0.929 GB, free: 177.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/1.821, allocations: 322.8 kB / 0.9293 GB, free: 177.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/1.821, allocations: 67.97 kB / 0.9293 GB, free: 177 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/1.821, allocations: 95.83 kB / 0.9294 GB, free: 176.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/1.822, allocations: 80.86 kB / 0.9295 GB, free: 176.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.822, allocations: 4 kB / 0.9295 GB, free: 176.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007535/1.823, allocations: 260.6 kB / 0.9297 GB, free: 176.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.823, allocations: 8 kB / 0.9298 GB, free: 176.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.823, allocations: 0 / 0.9298 GB, free: 176.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/1.823, allocations: 48.83 kB / 0.9298 GB, free: 176.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/1.823, allocations: 55.89 kB / 0.9299 GB, free: 176.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004281/1.824, allocations: 0.5681 MB / 0.9304 GB, free: 175.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/1.824, allocations: 11.94 kB / 0.9304 GB, free: 175.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/1.824, allocations: 24 kB / 0.9304 GB, free: 175.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/1.824, allocations: 129.8 kB / 0.9306 GB, free: 175.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/1.824, allocations: 23.69 kB / 0.9306 GB, free: 175.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.826, allocations: 339.2 kB / 0.9309 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.826, allocations: 4 kB / 0.9309 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.826, allocations: 4 kB / 0.9309 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.826, allocations: 11.92 kB / 0.9309 GB, free: 175.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/1.827, allocations: 0.6068 MB / 0.9315 GB, free: 174.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.827, allocations: 0 / 0.9315 GB, free: 174.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/1.828, allocations: 63.89 kB / 0.9316 GB, free: 174.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/1.828, allocations: 24.94 kB / 0.9316 GB, free: 174.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/1.828, allocations: 12 kB / 0.9316 GB, free: 174.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008504/1.829, allocations: 1.268 MB / 0.9329 GB, free: 173.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.829, allocations: 0 / 0.9329 GB, free: 173.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.83, allocations: 470.1 kB / 0.9333 GB, free: 172.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/1.83, allocations: 92.94 kB / 0.9334 GB, free: 172.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/1.83, allocations: 8 kB / 0.9334 GB, free: 172.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/1.83, allocations: 4 kB / 0.9334 GB, free: 172.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/1.83, allocations: 23.97 kB / 0.9334 GB, free: 172.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/1.83, allocations: 23.98 kB / 0.9335 GB, free: 172.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.044e-05/1.83, allocations: 95.33 kB / 0.9335 GB, free: 172.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.974e-06/1.83, allocations: 0 / 0.9335 GB, free: 172.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007308/1.831, allocations: 115.9 kB / 0.9337 GB, free: 172.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/1.833, allocations: 1.646 MB / 0.9353 GB, free: 170.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007571/1.834, allocations: 191.8 kB / 0.9354 GB, free: 170.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.834, allocations: 0 / 0.9354 GB, free: 170.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/1.835, allocations: 238.8 kB / 0.9357 GB, free: 170.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/1.835, allocations: 44.95 kB / 0.9357 GB, free: 170.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/1.838, allocations: 1.548 MB / 0.9372 GB, free: 168.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/1.838, allocations: 0.7127 MB / 0.9379 GB, free: 167.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000735/1.838, allocations: 73.39 kB / 0.938 GB, free: 167.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.839, allocations: 67.41 kB / 0.9381 GB, free: 167.6 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/1.839, allocations: 3.938 kB / 0.9381 GB, free: 167.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/1.88, allocations: 14.15 MB / 0.9519 GB, free: 153.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.88, allocations: 205.8 kB / 0.9521 GB, free: 153.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.836, allocations: 0 / 0.9521 GB, free: 153.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat