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.1674/0.1681, allocations: 82.21 MB / 0.5934 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6118/0.7799, allocations: 136.2 MB / 0.7264 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.7841, allocations: 2.446 MB / 0.7288 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.7846, allocations: 11.81 kB / 0.7288 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.7854, allocations: 210.1 kB / 0.729 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.7875, allocations: 0.6646 MB / 0.7296 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.7886, allocations: 377.2 kB / 0.73 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.7897, allocations: 0.5942 MB / 0.7306 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.7901, allocations: 182.8 kB / 0.7307 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.7906, allocations: 251.5 kB / 0.731 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.7909, allocations: 181.2 kB / 0.7311 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.7909, allocations: 15.69 kB / 0.7312 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.792, allocations: 282.8 kB / 0.7314 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.7922, allocations: 104.9 kB / 0.7315 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.7924, allocations: 95.83 kB / 0.7316 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009162/0.7933, allocations: 474.8 kB / 0.7321 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7933, allocations: 1.094 kB / 0.7321 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.846e-06/0.7934, allocations: 0 / 0.7321 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7934, allocations: 0 / 0.7321 GB, free: 15.61 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.001484/0.7949, allocations: 0.6379 MB / 0.7327 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.7949, allocations: 9.375 kB / 0.7327 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7961, allocations: 135.8 kB / 0.7328 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.7969, allocations: 377.8 kB / 0.7332 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.7969, allocations: 19.91 kB / 0.7332 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.797, allocations: 22.09 kB / 0.7332 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.7975, allocations: 271.5 kB / 0.7335 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7976, allocations: 4 kB / 0.7335 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.7976, allocations: 10.81 kB / 0.7335 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.7976, allocations: 8.531 kB / 0.7335 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.7981, allocations: 191.7 kB / 0.7337 GB, free: 14.79 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.001938/0.8, allocations: 1.295 MB / 0.735 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.8005, allocations: 197.7 kB / 0.7352 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.8005, allocations: 1.375 kB / 0.7352 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.8005, allocations: 41.09 kB / 0.7352 GB, free: 13.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.8005, allocations: 0 / 0.7352 GB, free: 13.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0009505/0.8015, allocations: 392.2 kB / 0.7356 GB, free: 13.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.8016, allocations: 57.75 kB / 0.7356 GB, free: 13.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.8019, allocations: 301.2 kB / 0.7359 GB, free: 13.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.802, allocations: 29.89 kB / 0.7359 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.8021, allocations: 187.1 kB / 0.7361 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.8022, allocations: 64.97 kB / 0.7362 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.8022, allocations: 3.25 kB / 0.7362 GB, free: 13.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8023, allocations: 339.3 kB / 0.7365 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.8024, allocations: 66.61 kB / 0.7366 GB, free: 13.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.8026, allocations: 121.8 kB / 0.7367 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.8027, allocations: 79.28 kB / 0.7368 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8027, allocations: 7.234 kB / 0.7368 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003472/0.8031, allocations: 242.6 kB / 0.737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8031, allocations: 6.875 kB / 0.737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8031, allocations: 3.312 kB / 0.737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8031, allocations: 3.219 kB / 0.737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.8033, allocations: 46.47 kB / 0.7371 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.8034, allocations: 7.469 kB / 0.7371 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.8036, allocations: 25.73 kB / 0.7371 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.8037, allocations: 6.344 kB / 0.7371 GB, free: 12.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.8038, allocations: 165.8 kB / 0.7373 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.8039, allocations: 34.77 kB / 0.7373 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.804, allocations: 38.5 kB / 0.7373 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.804, allocations: 1.438 kB / 0.7373 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.804, allocations: 1.281 kB / 0.7373 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.804, allocations: 0 / 0.7373 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.8045, allocations: 397.6 kB / 0.7377 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8045, allocations: 0 / 0.7377 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.8047, allocations: 35.28 kB / 0.7377 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.8049, allocations: 49.23 kB / 0.7378 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8049, allocations: 1.531 kB / 0.7378 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.8061, allocations: 1.431 MB / 0.7392 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8061, allocations: 0 / 0.7392 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.8067, allocations: 411.2 kB / 0.7396 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.8068, allocations: 132.3 kB / 0.7397 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.8069, allocations: 4.625 kB / 0.7397 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.8072, allocations: 11.78 kB / 0.7397 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.8072, allocations: 13.42 kB / 0.7397 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.8072, allocations: 6.344 kB / 0.7397 GB, free: 10.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002261/0.8075, allocations: 219.5 kB / 0.7399 GB, free: 10.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8075, allocations: 0 / 0.7399 GB, free: 10.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004208/0.8079, allocations: 105.5 kB / 0.74 GB, free: 10.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.8081, allocations: 115.8 kB / 0.7402 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.8084, allocations: 156.7 kB / 0.7403 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8084, allocations: 0 / 0.7403 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.8087, allocations: 200.2 kB / 0.7405 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.8096, allocations: 185.1 kB / 0.7407 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.811, allocations: 0.9666 MB / 0.7416 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.8114, allocations: 0.8016 MB / 0.7424 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.8117, allocations: 60.12 kB / 0.7425 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.8117, allocations: 32.02 kB / 0.7425 GB, free: 9.207 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.8117, allocations: 0 / 0.7425 GB, free: 9.207 MB / 0.545 GB Notification: Performance of Templates: time 0.0104/0.8221, allocations: 5.752 MB / 0.7481 GB, free: 6.391 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: