Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2044/0.207, allocations: 80.83 MB / 0.6706 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002473/0.2095, allocations: 1.334 MB / 0.6719 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6868/0.8963, allocations: 148.1 MB / 0.8165 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.8965, allocations: 1.094 kB / 0.8165 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.022e-05/0.8966, allocations: 6.469 kB / 0.8165 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.8967, allocations: 15.48 kB / 0.8165 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.8978, allocations: 328.2 kB / 0.8168 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.898, allocations: 64.81 kB / 0.8169 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.898, allocations: 3.438 kB / 0.8169 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.8981, allocations: 31.84 kB / 0.8169 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.8982, allocations: 34.16 kB / 0.817 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.8982, allocations: 3.219 kB / 0.817 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008571/0.8991, allocations: 409.2 kB / 0.8174 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.8992, allocations: 25.69 kB / 0.8174 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.8992, allocations: 25.77 kB / 0.8174 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.8996, allocations: 162.7 kB / 0.8176 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8996, allocations: 0 / 0.8176 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8996, allocations: 1.531 kB / 0.8176 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.8996, allocations: 0 / 0.8176 GB, free: 8.113 MB / 0.5919 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.0005166/0.9001, allocations: 392.1 kB / 0.8179 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9002, allocations: 9.031 kB / 0.8179 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.9006, allocations: 38.41 kB / 0.818 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.9007, allocations: 164.5 kB / 0.8181 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.9008, allocations: 11.47 kB / 0.8181 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.9008, allocations: 13.03 kB / 0.8182 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.901, allocations: 73.41 kB / 0.8182 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.901, allocations: 3.938 kB / 0.8182 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.9011, allocations: 5.781 kB / 0.8182 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9011, allocations: 1.844 kB / 0.8182 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/0.9012, allocations: 45.8 kB / 0.8183 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.9014, allocations: 185.4 kB / 0.8185 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.9016, allocations: 92.09 kB / 0.8185 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.9017, allocations: 36.05 kB / 0.8186 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.902, allocations: 176.5 kB / 0.8187 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.902, allocations: 35.94 kB / 0.8188 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.902, allocations: 3.938 kB / 0.8188 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001358/0.9034, allocations: 0.5403 MB / 0.8193 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.9034, allocations: 58.09 kB / 0.8194 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.9035, allocations: 101.2 kB / 0.8195 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.9036, allocations: 30.7 kB / 0.8195 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.9036, allocations: 80.52 kB / 0.8196 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.9037, allocations: 77.23 kB / 0.8196 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.9037, allocations: 37.91 kB / 0.8197 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9039, allocations: 328.3 kB / 0.82 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.9039, allocations: 35.61 kB / 0.82 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.904, allocations: 71.02 kB / 0.8201 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.9042, allocations: 117.4 kB / 0.8202 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9042, allocations: 1.375 kB / 0.8202 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002241/0.9044, allocations: 155.5 kB / 0.8204 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9044, allocations: 6.469 kB / 0.8204 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9045, allocations: 12.7 kB / 0.8204 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9045, allocations: 2.188 kB / 0.8204 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.9047, allocations: 39.7 kB / 0.8204 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.9047, allocations: 5.531 kB / 0.8204 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.9048, allocations: 9.219 kB / 0.8204 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.9048, allocations: 9.281 kB / 0.8204 GB, free: 5.902 MB / 0.5919 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.0001179/0.9049, allocations: 120.7 kB / 0.8206 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.9049, allocations: 8.344 kB / 0.8206 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.905, allocations: 16.44 kB / 0.8206 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.905, allocations: 9.516 kB / 0.8206 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.905, allocations: 1.219 kB / 0.8206 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.905, allocations: 3.938 kB / 0.8206 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.9052, allocations: 190.2 kB / 0.8208 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9052, allocations: 1.812 kB / 0.8208 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.9054, allocations: 36.92 kB / 0.8208 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9054, allocations: 1.25 kB / 0.8208 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.9054, allocations: 4.844 kB / 0.8208 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9054, allocations: 1.25 kB / 0.8208 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9055, allocations: 0 / 0.8208 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.9058, allocations: 215 kB / 0.821 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.9059, allocations: 90.47 kB / 0.8211 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.9059, allocations: 4.5 kB / 0.8211 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.906, allocations: 11.34 kB / 0.8211 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.9061, allocations: 13.09 kB / 0.8211 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.9061, allocations: 15.8 kB / 0.8212 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.9061, allocations: 76.81 kB / 0.8212 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9061, allocations: 4.094 kB / 0.8212 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000228/0.9064, allocations: 29.81 kB / 0.8213 GB, free: 5.254 MB / 0.5919 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.000154/0.9065, allocations: 107.3 kB / 0.8214 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.9067, allocations: 103.3 kB / 0.8215 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9068, allocations: 0 / 0.8215 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.9068, allocations: 52.88 kB / 0.8215 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.9072, allocations: 23.88 kB / 0.8215 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008393/0.908, allocations: 0.5064 MB / 0.822 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.9083, allocations: 0.6982 MB / 0.8227 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.9084, allocations: 28.67 kB / 0.8227 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.9085, allocations: 16.84 kB / 0.8228 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/0.9085, allocations: 0 / 0.8228 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.003746/0.9122, allocations: 1.139 MB / 0.8239 GB, free: 3.438 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)