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.169/0.1709, allocations: 80.84 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002865/0.1738, allocations: 1.387 MB / 0.5912 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6163/0.7901, allocations: 145.9 MB / 0.7337 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.7902, allocations: 0 / 0.7337 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.246e-05/0.7903, allocations: 2.672 kB / 0.7337 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.7904, allocations: 15.97 kB / 0.7337 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.7918, allocations: 304 kB / 0.734 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.792, allocations: 61.25 kB / 0.7341 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.792, allocations: 4.859 kB / 0.7341 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.7921, allocations: 33.75 kB / 0.7341 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.7923, allocations: 39.09 kB / 0.7342 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.7923, allocations: 2.875 kB / 0.7342 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.7935, allocations: 445.9 kB / 0.7346 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.7936, allocations: 18.78 kB / 0.7346 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.7937, allocations: 23.39 kB / 0.7346 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.7944, allocations: 187.9 kB / 0.7348 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7944, allocations: 1.656 kB / 0.7348 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7944, allocations: 0 / 0.7348 GB, free: 14.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.7944, allocations: 0.5 kB / 0.7348 GB, free: 14.83 MB / 0.545 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.0006359/0.795, allocations: 395.8 kB / 0.7352 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.7951, allocations: 9.25 kB / 0.7352 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.7957, allocations: 35.44 kB / 0.7352 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7959, allocations: 168.7 kB / 0.7354 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.7959, allocations: 10.77 kB / 0.7354 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.796, allocations: 9.281 kB / 0.7354 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.7963, allocations: 80.39 kB / 0.7355 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7963, allocations: 0 / 0.7355 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.7963, allocations: 9.219 kB / 0.7355 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.7963, allocations: 1.656 kB / 0.7355 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.7965, allocations: 41.64 kB / 0.7355 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.7968, allocations: 186.3 kB / 0.7357 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.7971, allocations: 97.09 kB / 0.7358 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.7972, allocations: 33.38 kB / 0.7358 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/0.7976, allocations: 177.5 kB / 0.736 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.7976, allocations: 36.12 kB / 0.736 GB, free: 13.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.7977, allocations: 0 / 0.736 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001933/0.7996, allocations: 0.5395 MB / 0.7366 GB, free: 13.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.7997, allocations: 56.72 kB / 0.7366 GB, free: 13.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7998, allocations: 98.58 kB / 0.7367 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.7998, allocations: 32.08 kB / 0.7367 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.7999, allocations: 80.52 kB / 0.7368 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.8, allocations: 72.5 kB / 0.7369 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.8001, allocations: 46.73 kB / 0.7369 GB, free: 13.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8003, allocations: 323 kB / 0.7372 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.8004, allocations: 39.16 kB / 0.7373 GB, free: 12.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.8006, allocations: 71.14 kB / 0.7374 GB, free: 12.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.8008, allocations: 113.4 kB / 0.7375 GB, free: 12.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8008, allocations: 6.016 kB / 0.7375 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003514/0.8012, allocations: 160.3 kB / 0.7376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.8012, allocations: 5.5 kB / 0.7376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8013, allocations: 1.375 kB / 0.7376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.8013, allocations: 1.375 kB / 0.7376 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.8015, allocations: 43.98 kB / 0.7377 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.8015, allocations: 1.375 kB / 0.7377 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.8016, allocations: 10 kB / 0.7377 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.8017, allocations: 7.562 kB / 0.7377 GB, free: 12.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.8018, allocations: 128.7 kB / 0.7378 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.8019, allocations: 4.125 kB / 0.7378 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.8019, allocations: 17.77 kB / 0.7378 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.8019, allocations: 2.75 kB / 0.7378 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.802, allocations: 3.984 kB / 0.7378 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.802, allocations: 6.047 kB / 0.7378 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.8022, allocations: 187.7 kB / 0.738 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8022, allocations: 1.375 kB / 0.738 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.8025, allocations: 41.5 kB / 0.7381 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.8025, allocations: 1.438 kB / 0.7381 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.8025, allocations: 11.11 kB / 0.7381 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.8025, allocations: 1.375 kB / 0.7381 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8025, allocations: 2.188 kB / 0.7381 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.803, allocations: 210 kB / 0.7383 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.8031, allocations: 91.34 kB / 0.7384 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.8031, allocations: 4.812 kB / 0.7384 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.8033, allocations: 9.469 kB / 0.7384 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.8033, allocations: 8.172 kB / 0.7384 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.8033, allocations: 18.25 kB / 0.7384 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.8034, allocations: 76.56 kB / 0.7385 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8034, allocations: 1.438 kB / 0.7385 GB, free: 12.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002652/0.8037, allocations: 28.44 kB / 0.7385 GB, free: 12.11 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 (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.0001871/0.8039, allocations: 104.1 kB / 0.7386 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.8041, allocations: 121.2 kB / 0.7387 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8041, allocations: 5.5 kB / 0.7387 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.8042, allocations: 57.3 kB / 0.7388 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.8045, allocations: 17.78 kB / 0.7388 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.8057, allocations: 0.5368 MB / 0.7393 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.8061, allocations: 0.697 MB / 0.74 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.8062, allocations: 25.45 kB / 0.74 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.8063, allocations: 23.44 kB / 0.74 GB, free: 10.88 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.8063, allocations: 0 / 0.74 GB, free: 10.88 MB / 0.545 GB Notification: Performance of Templates: time 0.005215/0.8115, allocations: 1.112 MB / 0.7411 GB, free: 10.79 MB / 0.545 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)