Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger") [/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.1871/0.1891, allocations: 80.84 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003803/0.1929, allocations: 2.314 MB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7293/0.9223, allocations: 151.9 MB / 0.8212 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.9226, allocations: 6.625 kB / 0.8212 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.9228, allocations: 46.12 kB / 0.8213 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.9231, allocations: 80.83 kB / 0.8214 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.924, allocations: 314.2 kB / 0.8217 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.9245, allocations: 453.5 kB / 0.8221 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.9248, allocations: 110.6 kB / 0.8222 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.925, allocations: 192 kB / 0.8224 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.9253, allocations: 192 kB / 0.8226 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.9254, allocations: 34.62 kB / 0.8226 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.9259, allocations: 279.6 kB / 0.8229 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.926, allocations: 73.28 kB / 0.8229 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.9262, allocations: 175.3 kB / 0.8231 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006998/0.9269, allocations: 0.512 MB / 0.8236 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9269, allocations: 2.812 kB / 0.8236 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9269, allocations: 0 / 0.8236 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.9269, allocations: 0 / 0.8236 GB, free: 4.398 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001729/0.9287, allocations: 0.8292 MB / 0.8244 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9287, allocations: 8.125 kB / 0.8244 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.9304, allocations: 204.1 kB / 0.8246 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.9309, allocations: 294.5 kB / 0.8249 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.9309, allocations: 25.34 kB / 0.8249 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.931, allocations: 31.62 kB / 0.8249 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/0.9319, allocations: 366.8 kB / 0.8253 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.9319, allocations: 3.938 kB / 0.8253 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.9319, allocations: 15.44 kB / 0.8253 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.932, allocations: 11.19 kB / 0.8253 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009547/0.9329, allocations: 362.1 kB / 0.8257 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.9352, allocations: 0.9975 MB / 0.8266 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.9359, allocations: 279.3 kB / 0.8269 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.9363, allocations: 165.7 kB / 0.8271 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.9363, allocations: 1.781 kB / 0.8271 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.9364, allocations: 33.34 kB / 0.8271 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.9364, allocations: 0 / 0.8271 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001351/0.9377, allocations: 0.5564 MB / 0.8276 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.9378, allocations: 126.6 kB / 0.8278 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.9383, allocations: 338.8 kB / 0.8281 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.9383, allocations: 28.73 kB / 0.8281 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.9385, allocations: 181.7 kB / 0.8283 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.9385, allocations: 85.09 kB / 0.8284 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.9387, allocations: 80.92 kB / 0.8285 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9389, allocations: 342.3 kB / 0.8288 GB, free: 492 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.9395, allocations: 183.8 kB / 0.829 GB, free: 404 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.9401, allocations: 235.6 kB / 0.8292 GB, free: 256 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.9412, allocations: 0.5501 MB / 0.8297 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.9412, allocations: 0 / 0.8297 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001472/0.9426, allocations: 0.6419 MB / 0.8303 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.9428, allocations: 134.8 kB / 0.8305 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9428, allocations: 0 / 0.8305 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.9428, allocations: 6.344 kB / 0.8305 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.9432, allocations: 61.3 kB / 0.8305 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.9433, allocations: 6.125 kB / 0.8305 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.9439, allocations: 72.98 kB / 0.8306 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.944, allocations: 18.17 kB / 0.8306 GB, free: 15.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (theComFixPar.steRat.found,theComFixPar.steRat.i_nw,theComFixPar.steRat.i_w,theCom.steRat.found,theCom.steRat.i_nw,theCom.steRat.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 4 * 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.000213/0.9442, allocations: 216.8 kB / 0.8308 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.9443, allocations: 37.34 kB / 0.8309 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.9453, allocations: 0.5288 MB / 0.8314 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.9454, allocations: 2.812 kB / 0.8314 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.9454, allocations: 0 / 0.8314 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.9454, allocations: 0 / 0.8314 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.9468, allocations: 0.9245 MB / 0.8323 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9468, allocations: 0 / 0.8323 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.9471, allocations: 41.91 kB / 0.8323 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9471, allocations: 6.75 kB / 0.8323 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.9472, allocations: 6.438 kB / 0.8323 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.9472, allocations: 2.438 kB / 0.8323 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9472, allocations: 2.844 kB / 0.8324 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.9483, allocations: 0.5883 MB / 0.8329 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.9485, allocations: 118.3 kB / 0.833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.9486, allocations: 6.906 kB / 0.833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.949, allocations: 18.64 kB / 0.8331 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.9491, allocations: 23.88 kB / 0.8331 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.9491, allocations: 9.062 kB / 0.8331 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003968/0.9495, allocations: 250.5 kB / 0.8333 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9495, allocations: 0 / 0.8333 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005113/0.95, allocations: 109 kB / 0.8334 GB, free: 13.18 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0003998/0.9504, allocations: 139.6 kB / 0.8336 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.9518, allocations: 0.6741 MB / 0.8342 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.9518, allocations: 0 / 0.8342 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.9523, allocations: 322.7 kB / 0.8345 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.953, allocations: 104.2 kB / 0.8346 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.9549, allocations: 0.8442 MB / 0.8355 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.9553, allocations: 0.7726 MB / 0.8362 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.9556, allocations: 65.5 kB / 0.8363 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.9557, allocations: 28.45 kB / 0.8363 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.9557, allocations: 3.938 kB / 0.8363 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Templates: time 0.01234/0.9681, allocations: 7.384 MB / 0.8435 GB, free: 7.277 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)