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.2006/0.2026, allocations: 80.85 MB / 0.5899 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003886/0.2065, allocations: 2.364 MB / 0.5922 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5311/0.7377, allocations: 149.7 MB / 0.7384 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.738, allocations: 9.266 kB / 0.7384 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.7382, allocations: 35.48 kB / 0.7384 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.7385, allocations: 69.06 kB / 0.7385 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.7397, allocations: 280.5 kB / 0.7388 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007228/0.7405, allocations: 461.7 kB / 0.7392 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.7408, allocations: 110.1 kB / 0.7393 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.7412, allocations: 195.9 kB / 0.7395 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.7416, allocations: 189.2 kB / 0.7397 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.039e-05/0.7416, allocations: 34.03 kB / 0.7397 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009389/0.7426, allocations: 279.3 kB / 0.74 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.7428, allocations: 74.42 kB / 0.74 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.7431, allocations: 173.9 kB / 0.7402 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.7442, allocations: 0.5109 MB / 0.7407 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.7442, allocations: 0 / 0.7407 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.534e-06/0.7442, allocations: 0 / 0.7407 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7442, allocations: 1.031 kB / 0.7407 GB, free: 14.27 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001886/0.7461, allocations: 0.8368 MB / 0.7415 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7462, allocations: 9.656 kB / 0.7415 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.748, allocations: 195.5 kB / 0.7417 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.7485, allocations: 283.3 kB / 0.742 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.7486, allocations: 25.16 kB / 0.742 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.7487, allocations: 33.22 kB / 0.7421 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.7497, allocations: 364.2 kB / 0.7424 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.7498, allocations: 0 / 0.7424 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.7498, allocations: 22.16 kB / 0.7424 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.7498, allocations: 6.688 kB / 0.7424 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.7507, allocations: 365.5 kB / 0.7428 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.7531, allocations: 0.9961 MB / 0.7437 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.7538, allocations: 287.7 kB / 0.744 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.7541, allocations: 163.4 kB / 0.7442 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.7542, allocations: 8.594 kB / 0.7442 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.7542, allocations: 37.22 kB / 0.7442 GB, free: 12.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.7542, allocations: 0 / 0.7442 GB, free: 12.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001312/0.7555, allocations: 0.5538 MB / 0.7448 GB, free: 12.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.7556, allocations: 120.2 kB / 0.7449 GB, free: 12.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.7561, allocations: 342.4 kB / 0.7452 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.7561, allocations: 32.7 kB / 0.7452 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.7562, allocations: 171.1 kB / 0.7454 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.7563, allocations: 89.83 kB / 0.7455 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.7565, allocations: 78.75 kB / 0.7456 GB, free: 12.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7566, allocations: 342.1 kB / 0.7459 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.7571, allocations: 184.7 kB / 0.7461 GB, free: 12.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.7577, allocations: 227.3 kB / 0.7463 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.7586, allocations: 0.5462 MB / 0.7468 GB, free: 11.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7586, allocations: 1.5 kB / 0.7468 GB, free: 11.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001352/0.76, allocations: 0.6394 MB / 0.7474 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.7601, allocations: 134.1 kB / 0.7476 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7601, allocations: 0 / 0.7476 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7601, allocations: 7.562 kB / 0.7476 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.7606, allocations: 62.06 kB / 0.7476 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.7606, allocations: 1.375 kB / 0.7476 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.7613, allocations: 84.06 kB / 0.7477 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.7614, allocations: 17.19 kB / 0.7477 GB, free: 11.41 MB / 0.545 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.0002366/0.7616, allocations: 211.5 kB / 0.7479 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.7617, allocations: 32.66 kB / 0.748 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.7627, allocations: 0.5229 MB / 0.7485 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.7628, allocations: 2.5 kB / 0.7485 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7628, allocations: 1 kB / 0.7485 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7628, allocations: 2.688 kB / 0.7485 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.7642, allocations: 0.928 MB / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7642, allocations: 0 / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.7645, allocations: 39.2 kB / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.7645, allocations: 2.719 kB / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.7645, allocations: 7.469 kB / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.7645, allocations: 4.5 kB / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7646, allocations: 3.938 kB / 0.7494 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009439/0.7655, allocations: 0.5919 MB / 0.75 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.7656, allocations: 117.3 kB / 0.7501 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.7657, allocations: 9.219 kB / 0.7501 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.7661, allocations: 24.11 kB / 0.7502 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.7662, allocations: 20.33 kB / 0.7502 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.7663, allocations: 11.28 kB / 0.7502 GB, free: 10.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003377/0.7666, allocations: 248.3 kB / 0.7504 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7666, allocations: 0 / 0.7504 GB, free: 10.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004668/0.7671, allocations: 110.3 kB / 0.7505 GB, free: 10.24 MB / 0.545 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.000327/0.7674, allocations: 146.9 kB / 0.7507 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.7687, allocations: 0.7001 MB / 0.7514 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7687, allocations: 0 / 0.7514 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.7691, allocations: 316 kB / 0.7517 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.7698, allocations: 102.3 kB / 0.7518 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.7717, allocations: 0.9355 MB / 0.7527 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.772, allocations: 0.7729 MB / 0.7534 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004055/0.7724, allocations: 67.78 kB / 0.7535 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.7726, allocations: 27.59 kB / 0.7535 GB, free: 8.484 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.7726, allocations: 3.938 kB / 0.7535 GB, free: 8.48 MB / 0.545 GB Notification: Performance of Templates: time 0.01206/0.7846, allocations: 7.11 MB / 0.7605 GB, free: 4.938 MB / 0.545 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)