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.1478/0.1496, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00229/0.152, allocations: 1.391 MB / 0.591 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.658/0.81, allocations: 145.8 MB / 0.7334 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.8102, allocations: 2.703 kB / 0.7334 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.873e-05/0.8103, allocations: 6.609 kB / 0.7334 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.8105, allocations: 20.41 kB / 0.7334 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.8115, allocations: 295.5 kB / 0.7337 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.8117, allocations: 88.66 kB / 0.7338 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.8118, allocations: 5.797 kB / 0.7338 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.8119, allocations: 29.67 kB / 0.7338 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.812, allocations: 35.97 kB / 0.7338 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.812, allocations: 3.594 kB / 0.7339 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.8133, allocations: 0.4982 MB / 0.7343 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.8134, allocations: 15.05 kB / 0.7344 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.8135, allocations: 25.92 kB / 0.7344 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.814, allocations: 185.8 kB / 0.7346 GB, free: 15.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.814, allocations: 0.5312 kB / 0.7346 GB, free: 15.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8141, allocations: 0.6875 kB / 0.7346 GB, free: 15.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8141, allocations: 0 / 0.7346 GB, free: 15.1 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.0006266/0.8147, allocations: 396 kB / 0.7349 GB, free: 14.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.8148, allocations: 9.594 kB / 0.7349 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000508/0.8153, allocations: 37.45 kB / 0.735 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8155, allocations: 168.7 kB / 0.7351 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.8155, allocations: 10.91 kB / 0.7351 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.8155, allocations: 8.781 kB / 0.7352 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.8158, allocations: 80.92 kB / 0.7352 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8158, allocations: 0.6562 kB / 0.7352 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.8159, allocations: 4.812 kB / 0.7352 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.8159, allocations: 1.125 kB / 0.7352 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.816, allocations: 49.09 kB / 0.7353 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.8163, allocations: 182.5 kB / 0.7355 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.8166, allocations: 90.22 kB / 0.7355 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.8167, allocations: 37.48 kB / 0.7356 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.817, allocations: 176.1 kB / 0.7358 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.817, allocations: 32.25 kB / 0.7358 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.817, allocations: 8.531 kB / 0.7358 GB, free: 14.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001984/0.819, allocations: 0.5421 MB / 0.7363 GB, free: 13.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.8191, allocations: 55.22 kB / 0.7364 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.8191, allocations: 98.31 kB / 0.7365 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.8192, allocations: 31.14 kB / 0.7365 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.8192, allocations: 80.64 kB / 0.7366 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.8193, allocations: 79.36 kB / 0.7366 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.8194, allocations: 40.27 kB / 0.7367 GB, free: 13.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8195, allocations: 323.3 kB / 0.737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.8196, allocations: 39.2 kB / 0.737 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.8198, allocations: 71.39 kB / 0.7371 GB, free: 13.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.8202, allocations: 113.7 kB / 0.7372 GB, free: 13.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8202, allocations: 1.203 kB / 0.7372 GB, free: 13.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004489/0.8206, allocations: 159.5 kB / 0.7374 GB, free: 12.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8207, allocations: 7.656 kB / 0.7374 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8207, allocations: 2 kB / 0.7374 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8207, allocations: 2.719 kB / 0.7374 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.8209, allocations: 40.17 kB / 0.7374 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.8209, allocations: 1.594 kB / 0.7374 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.821, allocations: 8.969 kB / 0.7374 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.821, allocations: 9.094 kB / 0.7374 GB, free: 12.96 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.0001001/0.8211, allocations: 120.8 kB / 0.7375 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.8211, allocations: 5.125 kB / 0.7376 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.8212, allocations: 20.02 kB / 0.7376 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.8212, allocations: 1.156 kB / 0.7376 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8212, allocations: 5.281 kB / 0.7376 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8212, allocations: 3.938 kB / 0.7376 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.8215, allocations: 195.4 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8215, allocations: 1.5 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.8217, allocations: 34.58 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.8217, allocations: 5.375 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.8217, allocations: 4.938 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8217, allocations: 1.375 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8218, allocations: 0.8125 kB / 0.7378 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.8221, allocations: 216.5 kB / 0.738 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.8223, allocations: 88.77 kB / 0.7381 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.8223, allocations: 8.953 kB / 0.7381 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.8225, allocations: 10.25 kB / 0.7381 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.8225, allocations: 10.33 kB / 0.7381 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.8225, allocations: 12.69 kB / 0.7381 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.8226, allocations: 78.03 kB / 0.7382 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8226, allocations: 0 / 0.7382 GB, free: 12.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002403/0.8228, allocations: 35.52 kB / 0.7383 GB, free: 12.37 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.0001672/0.823, allocations: 104.2 kB / 0.7384 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.8233, allocations: 107.9 kB / 0.7385 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8233, allocations: 2.469 kB / 0.7385 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.8234, allocations: 60.36 kB / 0.7385 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.8238, allocations: 15.98 kB / 0.7385 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.8247, allocations: 0.5405 MB / 0.7391 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.825, allocations: 0.6995 MB / 0.7397 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.8252, allocations: 28.22 kB / 0.7398 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.8252, allocations: 14.66 kB / 0.7398 GB, free: 11.16 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.8253, allocations: 0 / 0.7398 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Templates: time 0.004758/0.83, allocations: 1.081 MB / 0.7408 GB, free: 11.07 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)