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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.4 MB / 139.9 MB, free: 15.36 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001193/0.001193, allocations: 173.3 kB / 171.8 MB, free: 2.051 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.656/1.656, allocations: 170.6 MB / 374.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001601/0.001601, allocations: 124.4 kB / 444.8 MB, free: 9.285 MB / 346.7 MB [/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.571/0.571, allocations: 73.39 MB / 0.6666 GB, free: 46.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.745/6.316, allocations: 2.15 GB / 2.817 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/6.316, allocations: 69.59 kB / 2.817 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.4294/6.746, allocations: 28.85 MB / 2.845 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/6.746, allocations: 0 / 2.845 GB, free: 194.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.226e-06/6.746, allocations: 1.656 kB / 2.845 GB, free: 194.2 MB / 0.6198 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.0004391/6.746, allocations: 373.8 kB / 2.846 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/6.746, allocations: 8.906 kB / 2.846 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/6.747, allocations: 42.62 kB / 2.846 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/6.747, allocations: 167.7 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/6.747, allocations: 4.562 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/6.747, allocations: 10.5 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/6.747, allocations: 37.33 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/6.747, allocations: 69.17 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/6.747, allocations: 0.6094 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/6.747, allocations: 0.9375 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/6.747, allocations: 2.281 kB / 2.846 GB, free: 193.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/6.747, allocations: 161.4 kB / 2.846 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/6.748, allocations: 76.58 kB / 2.846 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/6.748, allocations: 27.36 kB / 2.846 GB, free: 193.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/6.748, allocations: 180.7 kB / 2.846 GB, free: 193.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/6.748, allocations: 36.55 kB / 2.846 GB, free: 193.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/6.748, allocations: 0.9375 kB / 2.846 GB, free: 193.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001247/6.749, allocations: 483.7 kB / 2.847 GB, free: 193 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/6.749, allocations: 60.91 kB / 2.847 GB, free: 192.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/6.749, allocations: 89.3 kB / 2.847 GB, free: 192.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/6.749, allocations: 26.67 kB / 2.847 GB, free: 192.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.527e-05/6.749, allocations: 85.45 kB / 2.847 GB, free: 192.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/6.749, allocations: 71.45 kB / 2.847 GB, free: 192.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/6.749, allocations: 2.281 kB / 2.847 GB, free: 192.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/6.749, allocations: 322.8 kB / 2.848 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/6.749, allocations: 32.91 kB / 2.848 GB, free: 192.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/6.75, allocations: 59.92 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/6.75, allocations: 40.25 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/6.75, allocations: 0 / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002072/6.75, allocations: 133.4 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.75, allocations: 6.5 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/6.75, allocations: 1.391 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/6.75, allocations: 4.969 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/6.75, allocations: 40.78 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/6.75, allocations: 2.312 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/6.75, allocations: 4.891 kB / 2.848 GB, free: 192.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/6.75, allocations: 7.641 kB / 2.848 GB, free: 192.3 MB / 0.6198 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 () * 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 5.938e-05/6.75, allocations: 114.7 kB / 2.848 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/6.75, allocations: 5.156 kB / 2.848 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/6.75, allocations: 13.06 kB / 2.848 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/6.75, allocations: 2.188 kB / 2.848 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/6.75, allocations: 1.641 kB / 2.848 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/6.75, allocations: 3.469 kB / 2.848 GB, free: 192.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/6.75, allocations: 162.8 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/6.75, allocations: 2.75 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/6.751, allocations: 42.38 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/6.751, allocations: 1.281 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/6.751, allocations: 1.594 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/6.751, allocations: 1.031 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/6.751, allocations: 3.875 kB / 2.848 GB, free: 192 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/6.751, allocations: 193.4 kB / 2.848 GB, free: 191.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/6.751, allocations: 94.34 kB / 2.848 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/6.751, allocations: 2.219 kB / 2.848 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/6.751, allocations: 7.719 kB / 2.848 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/6.751, allocations: 15.66 kB / 2.849 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/6.751, allocations: 7.594 kB / 2.849 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.046e-05/6.751, allocations: 79.5 kB / 2.849 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/6.751, allocations: 3.938 kB / 2.849 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003014/6.752, allocations: 55.39 kB / 2.849 GB, free: 191.8 MB / 0.6198 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 () * 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.0009549/6.753, allocations: 0.6326 MB / 2.849 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001949/6.753, allocations: 95.62 kB / 2.849 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/6.753, allocations: 0 / 2.849 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/6.753, allocations: 50.42 kB / 2.849 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/6.753, allocations: 6.594 kB / 2.849 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/6.754, allocations: 459.9 kB / 2.85 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/6.754, allocations: 0.7037 MB / 2.851 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001414/6.754, allocations: 22.17 kB / 2.851 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/6.754, allocations: 14.94 kB / 2.851 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/6.754, allocations: 0.9375 kB / 2.851 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.007481/6.762, allocations: 4.127 MB / 2.855 GB, free: 190.2 MB / 0.6198 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)