Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 107 kB / 16.36 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 192.9 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2078, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002762/0.2106, allocations: 1.322 MB / 0.7861 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6133/0.8239, allocations: 148.1 MB / 0.9307 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.824, allocations: 0 / 0.9307 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.8241, allocations: 7.922 kB / 0.9307 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.8242, allocations: 14.75 kB / 0.9307 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009171/0.8251, allocations: 330.2 kB / 0.931 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.8252, allocations: 61.05 kB / 0.9311 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.8253, allocations: 2.031 kB / 0.9311 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.8253, allocations: 40.73 kB / 0.9311 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.8254, allocations: 32.66 kB / 0.9312 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.8255, allocations: 1.406 kB / 0.9312 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.8262, allocations: 407.9 kB / 0.9315 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.8263, allocations: 16.67 kB / 0.9316 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.8264, allocations: 31.91 kB / 0.9316 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.8267, allocations: 165.5 kB / 0.9317 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8267, allocations: 0 / 0.9317 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8267, allocations: 0 / 0.9317 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8267, allocations: 0 / 0.9317 GB, free: 3.66 MB / 0.7169 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.000422/0.8271, allocations: 390.2 kB / 0.9321 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.8272, allocations: 8.031 kB / 0.9321 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.8276, allocations: 38.86 kB / 0.9322 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.258e-05/0.8277, allocations: 176.4 kB / 0.9323 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.8277, allocations: 7.938 kB / 0.9323 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.8277, allocations: 8 kB / 0.9323 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.8279, allocations: 77.64 kB / 0.9324 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.8279, allocations: 0 / 0.9324 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.8279, allocations: 4 kB / 0.9324 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.828, allocations: 4 kB / 0.9324 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.828, allocations: 39.95 kB / 0.9325 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.8282, allocations: 185.5 kB / 0.9326 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.8284, allocations: 98.56 kB / 0.9327 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.8285, allocations: 33.17 kB / 0.9328 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.8287, allocations: 186.1 kB / 0.9329 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.8288, allocations: 34.56 kB / 0.933 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.8288, allocations: 4 kB / 0.933 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.001418/0.8302, allocations: 0.5427 MB / 0.9335 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.8303, allocations: 59.41 kB / 0.9336 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.8304, allocations: 93.86 kB / 0.9337 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.8304, allocations: 33.7 kB / 0.9337 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.8305, allocations: 80.52 kB / 0.9338 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.8305, allocations: 74.98 kB / 0.9338 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.8306, allocations: 38.36 kB / 0.9339 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8308, allocations: 322.8 kB / 0.9342 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.8308, allocations: 35.97 kB / 0.9342 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.895e-05/0.8309, allocations: 73.56 kB / 0.9343 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.8311, allocations: 118.6 kB / 0.9344 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.8311, allocations: 0 / 0.9344 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002313/0.8314, allocations: 154.2 kB / 0.9346 GB, free: 484 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8314, allocations: 4.562 kB / 0.9346 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8314, allocations: 0 / 0.9346 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.8314, allocations: 7.938 kB / 0.9346 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.8316, allocations: 41.23 kB / 0.9346 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.8316, allocations: 4 kB / 0.9346 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.8317, allocations: 7.938 kB / 0.9346 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.8317, allocations: 10.06 kB / 0.9346 GB, free: 412 kB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.8319, allocations: 121.8 kB / 0.9347 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.8319, allocations: 7.906 kB / 0.9347 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.832, allocations: 20.44 kB / 0.9348 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.832, allocations: 3.984 kB / 0.9348 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.832, allocations: 0 / 0.9348 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.832, allocations: 7.938 kB / 0.9348 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.8322, allocations: 193.6 kB / 0.935 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8322, allocations: 0 / 0.935 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.8324, allocations: 45.41 kB / 0.935 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8324, allocations: 0 / 0.935 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.8325, allocations: 8 kB / 0.935 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8325, allocations: 0 / 0.935 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8325, allocations: 0 / 0.935 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.8328, allocations: 211 kB / 0.9352 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.833, allocations: 97 kB / 0.9353 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.833, allocations: 8.047 kB / 0.9353 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.8332, allocations: 4 kB / 0.9353 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.8332, allocations: 11.98 kB / 0.9353 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.8332, allocations: 9.188 kB / 0.9353 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.8333, allocations: 83.22 kB / 0.9354 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8333, allocations: 0 / 0.9354 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000232/0.8335, allocations: 29.69 kB / 0.9354 GB, free: 15.47 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.8337, allocations: 111.3 kB / 0.9356 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.8339, allocations: 107.8 kB / 0.9357 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.834, allocations: 0 / 0.9357 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.834, allocations: 47.92 kB / 0.9357 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.8343, allocations: 22.09 kB / 0.9357 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.8352, allocations: 0.5081 MB / 0.9362 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.8355, allocations: 0.6969 MB / 0.9369 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.981e-05/0.8356, allocations: 24.64 kB / 0.9369 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.8356, allocations: 15.44 kB / 0.9369 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.8357, allocations: 0 / 0.9369 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.00355/0.8392, allocations: 1.105 MB / 0.938 GB, free: 12.84 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)