Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.806/4.806, allocations: 0.5623 GB / 0.577 GB, free: 3.34 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.002357/0.002356, allocations: 355.1 kB / 0.644 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.091/4.091, allocations: 410.7 MB / 1.112 GB, free: 5.949 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.001773/0.001773, allocations: 183.9 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007931/0.0007934, allocations: 8 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6166, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001141/0.6178, allocations: 0.9921 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.7487, allocations: 133.4 MB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.7487, allocations: 0 / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.7488, allocations: 0 / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.7488, allocations: 3.938 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.7492, allocations: 89.19 kB / 1.592 GB, free: 150 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.7493, allocations: 31.86 kB / 1.592 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.7493, allocations: 4 kB / 1.592 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.7494, allocations: 8 kB / 1.592 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.7494, allocations: 23.84 kB / 1.592 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.7495, allocations: 4 kB / 1.592 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.7497, allocations: 63.83 kB / 1.592 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.7497, allocations: 11.97 kB / 1.592 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.7498, allocations: 29.7 kB / 1.592 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.7499, allocations: 46.02 kB / 1.592 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.811e-06/0.7499, allocations: 7.938 kB / 1.592 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.821e-06/0.7499, allocations: 3.984 kB / 1.592 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.382e-06/0.7499, allocations: 0 / 1.592 GB, free: 149.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002936/0.7502, allocations: 339.4 kB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.7503, allocations: 11.62 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.7505, allocations: 15.86 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.7506, allocations: 171 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.7506, allocations: 4 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.7506, allocations: 8 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7508, allocations: 45.69 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.429e-06/0.7508, allocations: 0 / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7508, allocations: 4 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.222e-06/0.7508, allocations: 3.953 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.7509, allocations: 19.91 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.7511, allocations: 165.7 kB / 1.593 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.7512, allocations: 50.56 kB / 1.593 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.7512, allocations: 16.86 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.7512, allocations: 0.6094 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.7513, allocations: 38.55 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.065e-06/0.7513, allocations: 0 / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0007657/0.7521, allocations: 383.7 kB / 1.593 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.7521, allocations: 55.41 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.7522, allocations: 89.86 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.7522, allocations: 29.7 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.7522, allocations: 84.14 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.7523, allocations: 35.45 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-06/0.7523, allocations: 4 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.7523, allocations: 315 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.7524, allocations: 24 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.7525, allocations: 33.08 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.843e-05/0.7525, allocations: 27.98 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.7526, allocations: 4 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001671/0.7527, allocations: 97.45 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7528, allocations: 8 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.294e-06/0.7528, allocations: 0 / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7528, allocations: 0 / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.7529, allocations: 28.69 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.697e-06/0.753, allocations: 7.938 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.753, allocations: 4 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-06/0.753, allocations: 4 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 8.632e-05/0.7531, allocations: 113.8 kB / 1.594 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.7532, allocations: 3.938 kB / 1.594 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.7532, allocations: 15.97 kB / 1.594 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7532, allocations: 0 / 1.594 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.356e-06/0.7532, allocations: 3.953 kB / 1.594 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-06/0.7533, allocations: 4 kB / 1.594 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7534, allocations: 174.5 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-06/0.7534, allocations: 0 / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.7536, allocations: 19.98 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.623e-06/0.7536, allocations: 4 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7536, allocations: 3.938 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7536, allocations: 0 / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.92e-06/0.7536, allocations: 0 / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.7539, allocations: 136.9 kB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.754, allocations: 85.14 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.754, allocations: 8 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7541, allocations: 0 / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.7542, allocations: 9.672 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.7542, allocations: 4 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.7542, allocations: 79.28 kB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.78e-07/0.7542, allocations: 0 / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002764/0.7545, allocations: 15.95 kB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 9.626e-05/0.7546, allocations: 111.3 kB / 1.595 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.7548, allocations: 54.44 kB / 1.595 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.169e-06/0.7548, allocations: 0 / 1.595 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.7549, allocations: 31.92 kB / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.7551, allocations: 8 kB / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.7558, allocations: 383.5 kB / 1.595 GB, free: 146 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.7559, allocations: 0.6965 MB / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.756, allocations: 4.672 kB / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.756, allocations: 15.44 kB / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.342e-06/0.7561, allocations: 0 / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003115/0.7592, allocations: 0.596 MB / 1.597 GB, free: 144.7 MB / 0.8542 GB