Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") [/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.2293/0.2313, allocations: 80.83 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7152/0.9466, allocations: 160 MB / 0.7459 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00586/0.9525, allocations: 2.468 MB / 0.7483 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.9538, allocations: 15.91 kB / 0.7483 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009822/0.9549, allocations: 182.3 kB / 0.7485 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.9586, allocations: 0.713 MB / 0.7492 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.9602, allocations: 335.4 kB / 0.7495 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003296/0.9635, allocations: 1.271 MB / 0.7507 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.9641, allocations: 210.2 kB / 0.7509 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000931/0.965, allocations: 283.2 kB / 0.7512 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.9663, allocations: 285.9 kB / 0.7515 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.9664, allocations: 14.03 kB / 0.7515 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.9687, allocations: 0.7487 MB / 0.7522 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.9689, allocations: 120.4 kB / 0.7523 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.9693, allocations: 189.2 kB / 0.7525 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.9708, allocations: 0.777 MB / 0.7533 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.9708, allocations: 0 / 0.7533 GB, free: 12.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9708, allocations: 0 / 0.7533 GB, free: 12.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.9708, allocations: 0 / 0.7533 GB, free: 12.66 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001475/0.9723, allocations: 0.7077 MB / 0.754 GB, free: 12.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.9724, allocations: 13.86 kB / 0.754 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.9735, allocations: 140.5 kB / 0.7541 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.9742, allocations: 392.9 kB / 0.7545 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.9742, allocations: 20.94 kB / 0.7545 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.9743, allocations: 26.03 kB / 0.7545 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.9748, allocations: 267.8 kB / 0.7548 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.9749, allocations: 0 / 0.7548 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.9749, allocations: 9.438 kB / 0.7548 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.9749, allocations: 19.98 kB / 0.7548 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.9753, allocations: 187.7 kB / 0.755 GB, free: 11.61 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.9775, allocations: 1.293 MB / 0.7563 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.978, allocations: 204.5 kB / 0.7565 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.9781, allocations: 75.28 kB / 0.7565 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.9782, allocations: 6.578 kB / 0.7565 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/0.9782, allocations: 33.88 kB / 0.7566 GB, free: 10.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.495e-06/0.9783, allocations: 3.938 kB / 0.7566 GB, free: 10.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001187/0.9795, allocations: 395.5 kB / 0.757 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.9795, allocations: 51.41 kB / 0.757 GB, free: 10.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.98, allocations: 302.4 kB / 0.7573 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.98, allocations: 35.83 kB / 0.7573 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.9802, allocations: 185.2 kB / 0.7575 GB, free: 9.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.9803, allocations: 67.61 kB / 0.7576 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.9804, allocations: 53.14 kB / 0.7576 GB, free: 9.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.9807, allocations: 338.1 kB / 0.7579 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.9808, allocations: 66.91 kB / 0.758 GB, free: 9.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.981, allocations: 120 kB / 0.7581 GB, free: 9.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.9813, allocations: 185.2 kB / 0.7583 GB, free: 9.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9814, allocations: 2.531 kB / 0.7583 GB, free: 9.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004337/0.9818, allocations: 245.5 kB / 0.7585 GB, free: 9.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.9818, allocations: 7.906 kB / 0.7585 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.9819, allocations: 1.562 kB / 0.7585 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.9819, allocations: 3.469 kB / 0.7585 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.9821, allocations: 47.48 kB / 0.7586 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.9821, allocations: 2.781 kB / 0.7586 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.9825, allocations: 26.77 kB / 0.7586 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.9825, allocations: 7.812 kB / 0.7586 GB, free: 9.258 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0002207/0.9828, allocations: 161.2 kB / 0.7588 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.9828, allocations: 34.53 kB / 0.7588 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.9829, allocations: 42.62 kB / 0.7589 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.9829, allocations: 3.938 kB / 0.7589 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.983, allocations: 10.22 kB / 0.7589 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.983, allocations: 0 / 0.7589 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.9836, allocations: 402.2 kB / 0.7592 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9836, allocations: 3.312 kB / 0.7593 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.9838, allocations: 33.88 kB / 0.7593 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.9841, allocations: 42.33 kB / 0.7593 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.9842, allocations: 6.594 kB / 0.7593 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.9859, allocations: 1.399 MB / 0.7607 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9859, allocations: 2.5 kB / 0.7607 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.9866, allocations: 410.6 kB / 0.7611 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.9868, allocations: 140.9 kB / 0.7612 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.9868, allocations: 0 / 0.7612 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.9872, allocations: 14.94 kB / 0.7612 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.9872, allocations: 16.56 kB / 0.7613 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9872, allocations: 4.672 kB / 0.7613 GB, free: 7.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002869/0.9875, allocations: 222.8 kB / 0.7615 GB, free: 7.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9876, allocations: 0 / 0.7615 GB, free: 7.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005146/0.9881, allocations: 100.8 kB / 0.7616 GB, free: 7.047 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003785/0.9885, allocations: 126.8 kB / 0.7617 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.9889, allocations: 155.5 kB / 0.7618 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.9889, allocations: 0 / 0.7618 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.9894, allocations: 199.5 kB / 0.762 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9904, allocations: 186.9 kB / 0.7622 GB, free: 6.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.9919, allocations: 0.8671 MB / 0.7631 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.9924, allocations: 0.8002 MB / 0.7638 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003495/0.9928, allocations: 54.8 kB / 0.7639 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.9929, allocations: 31.59 kB / 0.7639 GB, free: 5.375 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.9929, allocations: 0 / 0.7639 GB, free: 5.375 MB / 0.545 GB Notification: Performance of Templates: time 0.0138/1.007, allocations: 5.98 MB / 0.7698 GB, free: 2.461 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)