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.2082/0.2108, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7858/0.9966, allocations: 162.2 MB / 0.829 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004482/1.001, allocations: 2.443 MB / 0.8314 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/1.002, allocations: 13.5 kB / 0.8314 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/1.002, allocations: 205.8 kB / 0.8316 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002283/1.005, allocations: 0.7623 MB / 0.8323 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/1.006, allocations: 367 kB / 0.8327 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001595/1.007, allocations: 0.9653 MB / 0.8336 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/1.008, allocations: 246 kB / 0.8339 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/1.008, allocations: 340.9 kB / 0.8342 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/1.01, allocations: 276.7 kB / 0.8345 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/1.01, allocations: 33.31 kB / 0.8345 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/1.011, allocations: 0.642 MB / 0.8351 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/1.011, allocations: 140 kB / 0.8353 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/1.011, allocations: 206.7 kB / 0.8355 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/1.013, allocations: 0.7523 MB / 0.8362 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.013, allocations: 4 kB / 0.8362 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.787e-06/1.013, allocations: 0 / 0.8362 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.013, allocations: 0 / 0.8362 GB, free: 10.14 MB / 0.6075 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.001362/1.014, allocations: 0.7079 MB / 0.8369 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.014, allocations: 7.875 kB / 0.8369 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/1.015, allocations: 138.4 kB / 0.837 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/1.016, allocations: 404.6 kB / 0.8374 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.016, allocations: 18.66 kB / 0.8374 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/1.016, allocations: 23.19 kB / 0.8374 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/1.017, allocations: 273.1 kB / 0.8377 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.017, allocations: 3.906 kB / 0.8377 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.017, allocations: 10.66 kB / 0.8377 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/1.017, allocations: 16.25 kB / 0.8377 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/1.017, allocations: 192.1 kB / 0.8379 GB, free: 8.789 MB / 0.6075 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.001765/1.019, allocations: 1.285 MB / 0.8392 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.019, allocations: 197.3 kB / 0.8394 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/1.019, allocations: 88.45 kB / 0.8394 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/1.019, allocations: 2.906 kB / 0.8395 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.02, allocations: 34.91 kB / 0.8395 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/1.02, allocations: 2.781 kB / 0.8395 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.0009183/1.02, allocations: 400 kB / 0.8399 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.02, allocations: 53.81 kB / 0.8399 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/1.021, allocations: 302 kB / 0.8402 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/1.021, allocations: 32.58 kB / 0.8402 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/1.021, allocations: 187.8 kB / 0.8404 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/1.021, allocations: 68.73 kB / 0.8405 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/1.021, allocations: 51.48 kB / 0.8405 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.021, allocations: 339.2 kB / 0.8409 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.021, allocations: 62.62 kB / 0.8409 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/1.022, allocations: 123.2 kB / 0.841 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/1.022, allocations: 199.2 kB / 0.8412 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.022, allocations: 0.625 kB / 0.8412 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003719/1.022, allocations: 239.8 kB / 0.8415 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.022, allocations: 12.58 kB / 0.8415 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.022, allocations: 0 / 0.8415 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.022, allocations: 4.719 kB / 0.8415 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/1.023, allocations: 43.3 kB / 0.8415 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.023, allocations: 3.719 kB / 0.8415 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/1.023, allocations: 20.47 kB / 0.8415 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/1.023, allocations: 8.875 kB / 0.8415 GB, free: 5.758 MB / 0.6075 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.0001658/1.023, allocations: 160.8 kB / 0.8417 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/1.023, allocations: 34.22 kB / 0.8417 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/1.023, allocations: 38.89 kB / 0.8418 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.023, allocations: 2.906 kB / 0.8418 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.023, allocations: 0 / 0.8418 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/1.023, allocations: 3.984 kB / 0.8418 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/1.024, allocations: 405 kB / 0.8422 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.024, allocations: 1.125 kB / 0.8422 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.024, allocations: 35.33 kB / 0.8422 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/1.024, allocations: 42.7 kB / 0.8422 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.024, allocations: 6.75 kB / 0.8422 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/1.026, allocations: 1.511 MB / 0.8437 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.026, allocations: 3.938 kB / 0.8437 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/1.026, allocations: 399.6 kB / 0.8441 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/1.026, allocations: 140.1 kB / 0.8442 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/1.027, allocations: 10.09 kB / 0.8442 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/1.027, allocations: 14.28 kB / 0.8443 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/1.027, allocations: 13.92 kB / 0.8443 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.027, allocations: 12.8 kB / 0.8443 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002149/1.027, allocations: 217.6 kB / 0.8445 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.027, allocations: 0 / 0.8445 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000385/1.027, allocations: 100.8 kB / 0.8446 GB, free: 3.02 MB / 0.6075 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.0002142/1.028, allocations: 123.4 kB / 0.8447 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003042/1.028, allocations: 163 kB / 0.8449 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.028, allocations: 0 / 0.8449 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/1.028, allocations: 203.7 kB / 0.8451 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/1.029, allocations: 197.1 kB / 0.8452 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/1.031, allocations: 0.7441 MB / 0.846 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.031, allocations: 0.7943 MB / 0.8467 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002006/1.031, allocations: 64.58 kB / 0.8468 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/1.031, allocations: 27.34 kB / 0.8468 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/1.031, allocations: 0 / 0.8468 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.01226/1.044, allocations: 6.402 MB / 0.8531 GB, free: 14.07 MB / 0.6231 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)