Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.AirDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.953/4.953, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002518/0.002517, allocations: 355 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.222/4.222, allocations: 410.7 MB / 1.113 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001859, allocations: 192.3 kB / 1.226 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004984, allocations: 15.98 kB / 1.349 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7591/0.7596, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.673/7.433, allocations: 2.089 GB / 3.55 GB, free: 275.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/7.433, allocations: 83.73 kB / 3.55 GB, free: 275.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1038/7.537, allocations: 30.04 MB / 3.579 GB, free: 270.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/7.537, allocations: 0 / 3.579 GB, free: 270.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.144e-06/7.537, allocations: 0 / 3.579 GB, free: 270.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000495/7.537, allocations: 385.9 kB / 3.58 GB, free: 270.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/7.537, allocations: 13.19 kB / 3.58 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/7.538, allocations: 38.12 kB / 3.58 GB, free: 270.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.372e-05/7.538, allocations: 167 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/7.538, allocations: 7.781 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/7.538, allocations: 15.09 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/7.538, allocations: 73.94 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/7.538, allocations: 4 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/7.538, allocations: 3.906 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/7.538, allocations: 3.953 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/7.538, allocations: 46.61 kB / 3.58 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/7.539, allocations: 179.9 kB / 3.58 GB, free: 270.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/7.539, allocations: 90.06 kB / 3.58 GB, free: 270.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/7.539, allocations: 28.03 kB / 3.58 GB, free: 270 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/7.539, allocations: 179 kB / 3.58 GB, free: 269.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/7.539, allocations: 34.47 kB / 3.581 GB, free: 269.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.906e-06/7.539, allocations: 7.938 kB / 3.581 GB, free: 269.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001866/7.541, allocations: 0.5334 MB / 3.581 GB, free: 269.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/7.541, allocations: 59.27 kB / 3.581 GB, free: 269.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/7.541, allocations: 95.83 kB / 3.581 GB, free: 269.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/7.541, allocations: 32.73 kB / 3.581 GB, free: 269.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/7.541, allocations: 84.45 kB / 3.581 GB, free: 269.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/7.542, allocations: 67.39 kB / 3.581 GB, free: 269.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/7.542, allocations: 3.688 kB / 3.581 GB, free: 269.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/7.542, allocations: 321.9 kB / 3.582 GB, free: 268.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/7.542, allocations: 34.81 kB / 3.582 GB, free: 268.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/7.542, allocations: 71.89 kB / 3.582 GB, free: 268.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/7.542, allocations: 48.97 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/7.542, allocations: 0 / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000327/7.542, allocations: 155.4 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/7.542, allocations: 7.594 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/7.542, allocations: 0 / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/7.542, allocations: 3.906 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/7.543, allocations: 34.86 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/7.543, allocations: 15.55 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/7.543, allocations: 11.75 kB / 3.582 GB, free: 268.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/7.543, allocations: 7.156 kB / 3.582 GB, free: 268.8 MB / 0.948 GB 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/7.543, allocations: 123.7 kB / 3.582 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/7.543, allocations: 7.812 kB / 3.582 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/7.543, allocations: 15.44 kB / 3.582 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/7.543, allocations: 3.906 kB / 3.582 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/7.543, allocations: 0 / 3.582 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/7.543, allocations: 3.953 kB / 3.582 GB, free: 268.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/7.543, allocations: 195.2 kB / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/7.543, allocations: 4 kB / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/7.544, allocations: 41.09 kB / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/7.544, allocations: 0 / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/7.544, allocations: 7.906 kB / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/7.544, allocations: 0 / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/7.544, allocations: 0 / 3.582 GB, free: 268.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/7.544, allocations: 212.6 kB / 3.583 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/7.544, allocations: 92.67 kB / 3.583 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/7.544, allocations: 7.562 kB / 3.583 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/7.545, allocations: 7.344 kB / 3.583 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/7.545, allocations: 11.7 kB / 3.583 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/7.545, allocations: 15.41 kB / 3.583 GB, free: 268.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.704e-05/7.545, allocations: 75.28 kB / 3.583 GB, free: 268.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/7.545, allocations: 0 / 3.583 GB, free: 268.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004571/7.545, allocations: 69.92 kB / 3.583 GB, free: 268.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008205/7.546, allocations: 0.544 MB / 3.583 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003584/7.547, allocations: 103.7 kB / 3.584 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/7.547, allocations: 0 / 3.584 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/7.547, allocations: 57.7 kB / 3.584 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/7.547, allocations: 19.84 kB / 3.584 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/7.548, allocations: 0.6146 MB / 3.584 GB, free: 267.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/7.548, allocations: 0.7035 MB / 3.585 GB, free: 266.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002387/7.549, allocations: 27.98 kB / 3.585 GB, free: 266.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/7.549, allocations: 15.12 kB / 3.585 GB, free: 266.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/7.549, allocations: 3.719 kB / 3.585 GB, free: 266.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01875/7.567, allocations: 8.143 MB / 3.593 GB, free: 263.3 MB / 0.948 GB