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.2172/0.2193, allocations: 80.82 MB / 0.6706 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.8096/1.029, allocations: 162.2 MB / 0.829 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004842/1.034, allocations: 2.438 MB / 0.8314 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007125/1.035, allocations: 18 kB / 0.8314 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008374/1.036, allocations: 206.1 kB / 0.8316 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/1.038, allocations: 0.7554 MB / 0.8323 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/1.039, allocations: 375.2 kB / 0.8327 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001399/1.04, allocations: 0.9575 MB / 0.8336 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/1.041, allocations: 250 kB / 0.8339 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006139/1.041, allocations: 330.2 kB / 0.8342 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009519/1.042, allocations: 283.5 kB / 0.8345 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/1.042, allocations: 36.38 kB / 0.8345 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/1.044, allocations: 0.6388 MB / 0.8351 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/1.044, allocations: 139.7 kB / 0.8352 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/1.044, allocations: 208.3 kB / 0.8354 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/1.045, allocations: 0.7501 MB / 0.8362 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.045, allocations: 0 / 0.8362 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/1.045, allocations: 0 / 0.8362 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.045, allocations: 0 / 0.8362 GB, free: 10.26 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.001234/1.047, allocations: 0.7079 MB / 0.8369 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.047, allocations: 10.09 kB / 0.8369 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/1.048, allocations: 136 kB / 0.837 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/1.048, allocations: 404.2 kB / 0.8374 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/1.048, allocations: 18.75 kB / 0.8374 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/1.049, allocations: 29.72 kB / 0.8374 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/1.049, allocations: 271.3 kB / 0.8377 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.049, allocations: 7.891 kB / 0.8377 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/1.049, allocations: 15.03 kB / 0.8377 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/1.049, allocations: 14.59 kB / 0.8377 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/1.049, allocations: 189.8 kB / 0.8379 GB, free: 8.902 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.0019/1.051, allocations: 1.288 MB / 0.8392 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/1.052, allocations: 192.4 kB / 0.8394 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/1.052, allocations: 85.98 kB / 0.8394 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/1.052, allocations: 2.219 kB / 0.8394 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.052, allocations: 37.5 kB / 0.8395 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 3.266e-06/1.052, allocations: 0 / 0.8395 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001012/1.053, allocations: 402.5 kB / 0.8399 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/1.053, allocations: 54.12 kB / 0.8399 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/1.053, allocations: 302.3 kB / 0.8402 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/1.054, allocations: 27.86 kB / 0.8402 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/1.054, allocations: 189.8 kB / 0.8404 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/1.054, allocations: 70.75 kB / 0.8405 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/1.054, allocations: 43 kB / 0.8405 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.054, allocations: 340.2 kB / 0.8408 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/1.054, allocations: 60.7 kB / 0.8409 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/1.054, allocations: 125 kB / 0.841 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/1.055, allocations: 198.6 kB / 0.8412 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.055, allocations: 1.125 kB / 0.8412 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004033/1.055, allocations: 247.5 kB / 0.8414 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.055, allocations: 4.812 kB / 0.8415 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.055, allocations: 1.875 kB / 0.8415 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.055, allocations: 2.812 kB / 0.8415 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.055, allocations: 43.2 kB / 0.8415 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.055, allocations: 2.781 kB / 0.8415 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/1.056, allocations: 24.5 kB / 0.8415 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/1.056, allocations: 7.812 kB / 0.8415 GB, free: 5.879 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.0001742/1.056, allocations: 161.9 kB / 0.8417 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/1.056, allocations: 30.62 kB / 0.8417 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/1.056, allocations: 37.48 kB / 0.8418 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.056, allocations: 3.812 kB / 0.8418 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.056, allocations: 2.281 kB / 0.8418 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/1.056, allocations: 11.91 kB / 0.8418 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/1.057, allocations: 402 kB / 0.8422 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.057, allocations: 4 kB / 0.8422 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/1.057, allocations: 40.3 kB / 0.8422 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/1.057, allocations: 40.33 kB / 0.8422 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.057, allocations: 6.906 kB / 0.8422 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/1.058, allocations: 1.508 MB / 0.8437 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.058, allocations: 3.938 kB / 0.8437 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/1.059, allocations: 413.7 kB / 0.8441 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.059, allocations: 139.6 kB / 0.8442 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/1.059, allocations: 4 kB / 0.8442 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.06, allocations: 2.469 kB / 0.8442 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/1.06, allocations: 15.67 kB / 0.8443 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.06, allocations: 8.859 kB / 0.8443 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002603/1.06, allocations: 217.6 kB / 0.8445 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 4 kB / 0.8445 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004676/1.06, allocations: 102.5 kB / 0.8446 GB, free: 3.137 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.0002345/1.061, allocations: 118.4 kB / 0.8447 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003386/1.061, allocations: 171.1 kB / 0.8449 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.061, allocations: 2.562 kB / 0.8449 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/1.061, allocations: 195.3 kB / 0.845 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/1.062, allocations: 192.5 kB / 0.8452 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/1.064, allocations: 0.7482 MB / 0.846 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/1.065, allocations: 0.7907 MB / 0.8467 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003363/1.065, allocations: 57.09 kB / 0.8468 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/1.065, allocations: 25.41 kB / 0.8468 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of SimCode: time 1.483e-06/1.065, allocations: 4 kB / 0.8468 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.01715/1.082, allocations: 6.3 MB / 0.853 GB, free: 14.27 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)