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.1964/0.1972, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6736/0.8709, allocations: 157.9 MB / 0.7483 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004931/0.8759, allocations: 2.434 MB / 0.7507 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.8769, allocations: 10.34 kB / 0.7507 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009424/0.8779, allocations: 180.5 kB / 0.7509 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.8807, allocations: 0.7193 MB / 0.7516 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.8819, allocations: 332.2 kB / 0.7519 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002265/0.8842, allocations: 1.271 MB / 0.7531 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008257/0.8851, allocations: 198.9 kB / 0.7533 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.8864, allocations: 278.1 kB / 0.7536 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.8883, allocations: 273.3 kB / 0.7538 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.8885, allocations: 11.06 kB / 0.7538 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.8914, allocations: 0.7434 MB / 0.7546 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.8918, allocations: 114.9 kB / 0.7547 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.8924, allocations: 205.3 kB / 0.7549 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.8947, allocations: 0.7724 MB / 0.7556 GB, free: 12.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.8948, allocations: 0 / 0.7556 GB, free: 12.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8948, allocations: 0 / 0.7556 GB, free: 12.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.812e-05/0.8948, allocations: 0 / 0.7556 GB, free: 12.88 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.002085/0.8969, allocations: 0.6363 MB / 0.7562 GB, free: 12.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.897, allocations: 12.38 kB / 0.7563 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.8983, allocations: 139.4 kB / 0.7564 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.8991, allocations: 391.9 kB / 0.7568 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.8991, allocations: 19.75 kB / 0.7568 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.8992, allocations: 23.97 kB / 0.7568 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.8997, allocations: 272.2 kB / 0.7571 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.8997, allocations: 0 / 0.7571 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.8997, allocations: 12.34 kB / 0.7571 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.8998, allocations: 10.66 kB / 0.7571 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.9001, allocations: 191.3 kB / 0.7573 GB, free: 11.85 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.001747/0.9019, allocations: 1.296 MB / 0.7585 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.9023, allocations: 204.5 kB / 0.7587 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.9024, allocations: 85.22 kB / 0.7588 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.9025, allocations: 6.641 kB / 0.7588 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.9025, allocations: 38.14 kB / 0.7589 GB, free: 10.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.9025, allocations: 0 / 0.7589 GB, free: 10.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0009449/0.9034, allocations: 390.9 kB / 0.7592 GB, free: 10.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.9035, allocations: 58.72 kB / 0.7593 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.9038, allocations: 302 kB / 0.7596 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.9039, allocations: 29.45 kB / 0.7596 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.904, allocations: 194.8 kB / 0.7598 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.9041, allocations: 70.53 kB / 0.7599 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.9042, allocations: 23.47 kB / 0.7599 GB, free: 10.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9044, allocations: 339.4 kB / 0.7602 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.9045, allocations: 60.55 kB / 0.7603 GB, free: 9.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.9046, allocations: 121.2 kB / 0.7604 GB, free: 9.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.9049, allocations: 192.9 kB / 0.7606 GB, free: 9.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9049, allocations: 3.375 kB / 0.7606 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003443/0.9052, allocations: 244.7 kB / 0.7608 GB, free: 9.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.9053, allocations: 6.875 kB / 0.7608 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.9053, allocations: 2.875 kB / 0.7608 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.9053, allocations: 0 / 0.7608 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.9055, allocations: 52.83 kB / 0.7609 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9055, allocations: 3.031 kB / 0.7609 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.9058, allocations: 30.23 kB / 0.7609 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.9058, allocations: 8.75 kB / 0.7609 GB, free: 9.496 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.0001719/0.906, allocations: 164.7 kB / 0.7611 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.9061, allocations: 29.56 kB / 0.7611 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.9062, allocations: 37.45 kB / 0.7611 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9062, allocations: 3.188 kB / 0.7611 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.9062, allocations: 0 / 0.7611 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.9062, allocations: 0 / 0.7611 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.9067, allocations: 403.2 kB / 0.7615 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9067, allocations: 5.25 kB / 0.7615 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.9069, allocations: 39.14 kB / 0.7615 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.9072, allocations: 42.91 kB / 0.7616 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.9072, allocations: 6.938 kB / 0.7616 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.9084, allocations: 1.403 MB / 0.763 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9084, allocations: 3.984 kB / 0.763 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.909, allocations: 405.2 kB / 0.7634 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.9091, allocations: 138.5 kB / 0.7635 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.9092, allocations: 3.688 kB / 0.7635 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.9095, allocations: 13.91 kB / 0.7635 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.9095, allocations: 19.5 kB / 0.7635 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.9095, allocations: 7.094 kB / 0.7635 GB, free: 7.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002019/0.9097, allocations: 219.2 kB / 0.7637 GB, free: 7.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9097, allocations: 4 kB / 0.7637 GB, free: 7.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004172/0.9102, allocations: 100.3 kB / 0.7638 GB, free: 7.289 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.0002182/0.9104, allocations: 117 kB / 0.7639 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.9107, allocations: 166 kB / 0.7641 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9107, allocations: 0 / 0.7641 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.911, allocations: 199.1 kB / 0.7643 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.912, allocations: 199.5 kB / 0.7645 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9134, allocations: 0.9205 MB / 0.7654 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.9138, allocations: 0.7946 MB / 0.7662 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.9141, allocations: 56.95 kB / 0.7662 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.9142, allocations: 26.97 kB / 0.7662 GB, free: 5.555 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.9142, allocations: 4 kB / 0.7662 GB, free: 5.551 MB / 0.545 GB Notification: Performance of Templates: time 0.01122/0.9254, allocations: 5.955 MB / 0.7721 GB, free: 2.637 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: