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.1778/0.1785, allocations: 82.22 MB / 0.5934 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001618/0.1802, allocations: 1.015 MB / 0.5943 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5419/0.7221, allocations: 125.2 MB / 0.7166 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.7222, allocations: 0 / 0.7166 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.989e-05/0.7223, allocations: 3.984 kB / 0.7166 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.7224, allocations: 11.98 kB / 0.7166 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009763/0.7234, allocations: 244.8 kB / 0.7168 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.7235, allocations: 38.03 kB / 0.7169 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.7235, allocations: 2.719 kB / 0.7169 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.7236, allocations: 33.34 kB / 0.7169 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.7237, allocations: 32.53 kB / 0.7169 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.7237, allocations: 2.062 kB / 0.7169 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/0.7245, allocations: 284.5 kB / 0.7172 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.7245, allocations: 14.81 kB / 0.7172 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.7246, allocations: 37.08 kB / 0.7172 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.7249, allocations: 94.67 kB / 0.7173 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.7249, allocations: 0 / 0.7173 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7249, allocations: 0 / 0.7173 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7249, allocations: 4 kB / 0.7173 GB, free: 9.57 MB / 0.5137 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.0004637/0.7254, allocations: 381.1 kB / 0.7177 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7254, allocations: 14.86 kB / 0.7177 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.7258, allocations: 28.44 kB / 0.7177 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.726, allocations: 169.9 kB / 0.7179 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.726, allocations: 6.75 kB / 0.7179 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.726, allocations: 12.78 kB / 0.7179 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.7262, allocations: 76.88 kB / 0.718 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.7262, allocations: 0 / 0.718 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.7263, allocations: 6.828 kB / 0.718 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7263, allocations: 0 / 0.718 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.7264, allocations: 50.11 kB / 0.7181 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.7266, allocations: 190.1 kB / 0.7182 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.7268, allocations: 94.98 kB / 0.7183 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.7268, allocations: 4.438 kB / 0.7183 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.7269, allocations: 41.41 kB / 0.7184 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.7269, allocations: 0 / 0.7184 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001275/0.7282, allocations: 0.5499 MB / 0.7189 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.7282, allocations: 51.41 kB / 0.719 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.7283, allocations: 99.2 kB / 0.719 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.7283, allocations: 29.7 kB / 0.7191 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.7284, allocations: 80.52 kB / 0.7192 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.7284, allocations: 69.25 kB / 0.7192 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.7284, allocations: 4 kB / 0.7192 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7286, allocations: 321.7 kB / 0.7195 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.7286, allocations: 37.58 kB / 0.7196 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.591e-05/0.7287, allocations: 76.09 kB / 0.7196 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.7288, allocations: 57.91 kB / 0.7197 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.7288, allocations: 0 / 0.7197 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002122/0.7291, allocations: 147.6 kB / 0.7198 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7291, allocations: 4.25 kB / 0.7198 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7291, allocations: 6.906 kB / 0.7198 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7291, allocations: 0 / 0.7198 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.7293, allocations: 45.61 kB / 0.7199 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7293, allocations: 0 / 0.7199 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.7294, allocations: 2.812 kB / 0.7199 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.7294, allocations: 9.375 kB / 0.7199 GB, free: 7.262 MB / 0.5137 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 9.365e-05/0.7295, allocations: 130.6 kB / 0.72 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.7295, allocations: 9.344 kB / 0.72 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.7295, allocations: 16.44 kB / 0.72 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7296, allocations: 5.969 kB / 0.7201 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7296, allocations: 0 / 0.7201 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7296, allocations: 0 / 0.7201 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.7298, allocations: 196.4 kB / 0.7202 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7298, allocations: 2.562 kB / 0.7202 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.7299, allocations: 42.84 kB / 0.7203 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.73, allocations: 0 / 0.7203 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.73, allocations: 0 / 0.7203 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.73, allocations: 2.562 kB / 0.7203 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.73, allocations: 3.938 kB / 0.7203 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.7303, allocations: 205 kB / 0.7205 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7304, allocations: 98.33 kB / 0.7206 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.7304, allocations: 7.438 kB / 0.7206 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.7306, allocations: 8.828 kB / 0.7206 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.7306, allocations: 13.67 kB / 0.7206 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.7306, allocations: 4.562 kB / 0.7206 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.7307, allocations: 75.28 kB / 0.7207 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7307, allocations: 4.094 kB / 0.7207 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002171/0.7309, allocations: 31.44 kB / 0.7207 GB, free: 6.52 MB / 0.5137 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.0001417/0.731, allocations: 106.9 kB / 0.7208 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.7312, allocations: 100.3 kB / 0.7209 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7313, allocations: 2.875 kB / 0.7209 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.7313, allocations: 57.38 kB / 0.721 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.7316, allocations: 11.44 kB / 0.721 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000874/0.7324, allocations: 0.6146 MB / 0.7216 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.7328, allocations: 0.7057 MB / 0.7223 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.7329, allocations: 18.95 kB / 0.7223 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.7329, allocations: 17.69 kB / 0.7223 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.733, allocations: 0 / 0.7223 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of Templates: time 0.00332/0.7363, allocations: 1.015 MB / 0.7233 GB, free: 4.605 MB / 0.5137 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: