Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 181.3 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 80.75 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006412/0.0006415, allocations: 15.91 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2554, allocations: 106.2 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001436/0.2569, allocations: 1.04 MB / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2379/0.4948, allocations: 134.5 MB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.495, allocations: 4 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.495, allocations: 3.984 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.4952, allocations: 15.91 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.4965, allocations: 226.9 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4967, allocations: 75.73 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.4967, allocations: 7.938 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.4968, allocations: 31.91 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.497, allocations: 35.89 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.497, allocations: 4 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.4982, allocations: 243.4 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.4983, allocations: 23.89 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.4983, allocations: 33.7 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.4987, allocations: 108 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4987, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4988, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4988, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 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.0006269/0.4994, allocations: 371.4 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.4995, allocations: 8.031 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007889/0.5003, allocations: 36.81 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5005, allocations: 172.3 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5005, allocations: 7.938 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.5006, allocations: 12 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.5009, allocations: 77.59 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5009, allocations: 3.984 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.5009, allocations: 4 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.501, allocations: 4 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.5012, allocations: 39.95 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.5015, allocations: 193.4 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.5019, allocations: 94.55 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.502, allocations: 32.92 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.5024, allocations: 178.2 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.5025, allocations: 34.56 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 3.546e-06/0.5025, allocations: 0 / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.002616/0.5051, allocations: 0.5392 MB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.5052, allocations: 59.39 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.5053, allocations: 97.8 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.5054, allocations: 33.7 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.5054, allocations: 80.52 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5056, allocations: 74.98 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.5056, allocations: 3.938 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5057, allocations: 318.8 kB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5059, allocations: 39.97 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.5061, allocations: 67.53 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.5063, allocations: 47.98 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5063, allocations: 3.938 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005057/0.5069, allocations: 157.5 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5069, allocations: 4 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5069, allocations: 7.938 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.507, allocations: 0 / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.5074, allocations: 39.92 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.5074, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.5076, allocations: 7.938 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.5076, allocations: 8 kB / 1.035 GB, free: 5.586 MB / 0.6823 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.0001588/0.5078, allocations: 125.8 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.5079, allocations: 11.84 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.5079, allocations: 16.44 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.508, allocations: 4 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.508, allocations: 0 / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.508, allocations: 3.938 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.5083, allocations: 189.6 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5083, allocations: 0 / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.5089, allocations: 39.98 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.5089, allocations: 4 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.509, allocations: 3.984 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.509, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.509, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006551/0.5097, allocations: 211 kB / 1.035 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.5098, allocations: 89 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.5099, allocations: 12.06 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.5102, allocations: 15.98 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.5103, allocations: 11.92 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.5103, allocations: 8 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.5104, allocations: 79.28 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/0.5104, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005153/0.5109, allocations: 24 kB / 1.036 GB, free: 4.66 MB / 0.6823 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.0002283/0.5112, allocations: 115.2 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.5116, allocations: 103.8 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.5116, allocations: 0 / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.5118, allocations: 52.42 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.5123, allocations: 17.83 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.514, allocations: 0.6148 MB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.5144, allocations: 0.6972 MB / 1.037 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.5148, allocations: 32.61 kB / 1.037 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.5149, allocations: 15.44 kB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/0.5149, allocations: 0 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of Templates: time 0.006246/0.5212, allocations: 1.023 MB / 1.038 GB, free: 1.938 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)