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.2082/0.209, allocations: 82.21 MB / 0.5934 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001843/0.2109, allocations: 1.039 MB / 0.5945 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5968/0.8078, allocations: 134.5 MB / 0.7258 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.8079, allocations: 0.9688 kB / 0.7258 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.8079, allocations: 6.234 kB / 0.7258 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.808, allocations: 11.28 kB / 0.7258 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.8088, allocations: 229.6 kB / 0.726 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.8089, allocations: 72.28 kB / 0.7261 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.809, allocations: 3 kB / 0.7261 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.809, allocations: 29.17 kB / 0.7261 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.8091, allocations: 33.34 kB / 0.7261 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.8091, allocations: 6.969 kB / 0.7261 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.8098, allocations: 253.8 kB / 0.7264 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.8098, allocations: 15.12 kB / 0.7264 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.8099, allocations: 36.95 kB / 0.7264 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.8101, allocations: 102.5 kB / 0.7265 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8101, allocations: 3.375 kB / 0.7265 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8101, allocations: 0.875 kB / 0.7265 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.8101, allocations: 0 / 0.7265 GB, free: 0.6289 MB / 0.5294 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.0004835/0.8106, allocations: 376.3 kB / 0.7269 GB, free: 16.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8106, allocations: 8.625 kB / 0.7269 GB, free: 16.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.811, allocations: 34.61 kB / 0.7269 GB, free: 16.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/0.8112, allocations: 167.1 kB / 0.7271 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8112, allocations: 2.406 kB / 0.7271 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.8112, allocations: 13.31 kB / 0.7271 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.8114, allocations: 83.41 kB / 0.7272 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8114, allocations: 0 / 0.7272 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.8114, allocations: 4.375 kB / 0.7272 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8114, allocations: 4.875 kB / 0.7272 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.8115, allocations: 44.25 kB / 0.7272 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.8118, allocations: 191.6 kB / 0.7274 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.8119, allocations: 92.39 kB / 0.7275 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.812, allocations: 31.27 kB / 0.7275 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.8122, allocations: 177.6 kB / 0.7277 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.8123, allocations: 35.5 kB / 0.7278 GB, free: 15.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.8123, allocations: 3.938 kB / 0.7278 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001269/0.8136, allocations: 0.5401 MB / 0.7283 GB, free: 15.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8136, allocations: 54.12 kB / 0.7283 GB, free: 15.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.346e-05/0.8137, allocations: 97.97 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.8137, allocations: 30.17 kB / 0.7285 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.8137, allocations: 84.36 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.8138, allocations: 69.53 kB / 0.7286 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.8138, allocations: 3.75 kB / 0.7286 GB, free: 14.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.8139, allocations: 327.2 kB / 0.7289 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.814, allocations: 37.92 kB / 0.729 GB, free: 14.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.8141, allocations: 71.69 kB / 0.729 GB, free: 14.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.706e-05/0.8142, allocations: 43.53 kB / 0.7291 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.8142, allocations: 0.6562 kB / 0.7291 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002364/0.8144, allocations: 158.1 kB / 0.7292 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8145, allocations: 7.859 kB / 0.7292 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8145, allocations: 6.344 kB / 0.7292 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8145, allocations: 1.5 kB / 0.7292 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.8147, allocations: 37.2 kB / 0.7293 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8147, allocations: 8 kB / 0.7293 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.8147, allocations: 5.312 kB / 0.7293 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.8148, allocations: 6.891 kB / 0.7293 GB, free: 14.54 MB / 0.545 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 8.487e-05/0.8149, allocations: 121.5 kB / 0.7294 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.8149, allocations: 8.219 kB / 0.7294 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.8149, allocations: 23.73 kB / 0.7294 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8149, allocations: 1.156 kB / 0.7294 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.815, allocations: 0.6562 kB / 0.7294 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.815, allocations: 1.438 kB / 0.7294 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.8151, allocations: 202 kB / 0.7296 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8151, allocations: 0 / 0.7296 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.8153, allocations: 40.36 kB / 0.7297 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.8153, allocations: 0.8438 kB / 0.7297 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8153, allocations: 5.547 kB / 0.7297 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8153, allocations: 2 kB / 0.7297 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8154, allocations: 0 / 0.7297 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.8156, allocations: 212.8 kB / 0.7299 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.8157, allocations: 96.19 kB / 0.73 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.8158, allocations: 5.297 kB / 0.73 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8159, allocations: 9.156 kB / 0.73 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.8159, allocations: 12.42 kB / 0.73 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.8159, allocations: 7 kB / 0.73 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.816, allocations: 80.28 kB / 0.7301 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.816, allocations: 1.062 kB / 0.7301 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002191/0.8162, allocations: 32.53 kB / 0.7301 GB, free: 13.95 MB / 0.545 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.0001272/0.8163, allocations: 108.7 kB / 0.7302 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.8165, allocations: 101.2 kB / 0.7303 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8166, allocations: 1.562 kB / 0.7303 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.8166, allocations: 57.88 kB / 0.7304 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8169, allocations: 17.12 kB / 0.7304 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.8177, allocations: 0.611 MB / 0.731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.818, allocations: 0.7024 MB / 0.7317 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.8181, allocations: 23.05 kB / 0.7317 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.8182, allocations: 15.53 kB / 0.7317 GB, free: 12.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.8182, allocations: 0 / 0.7317 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Templates: time 0.003154/0.8213, allocations: 1.022 MB / 0.7327 GB, free: 12.62 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: