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.2195/0.2216, allocations: 80.84 MB / 0.6706 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.8202/1.042, allocations: 162.2 MB / 0.829 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004159/1.046, allocations: 2.432 MB / 0.8314 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/1.046, allocations: 18.31 kB / 0.8314 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007152/1.047, allocations: 214.2 kB / 0.8316 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/1.049, allocations: 0.7898 MB / 0.8324 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/1.05, allocations: 366.1 kB / 0.8327 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001098/1.051, allocations: 0.9724 MB / 0.8337 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/1.051, allocations: 243.5 kB / 0.8339 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/1.052, allocations: 342 kB / 0.8342 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008312/1.053, allocations: 287.3 kB / 0.8345 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/1.053, allocations: 36.38 kB / 0.8345 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/1.054, allocations: 0.6487 MB / 0.8352 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/1.054, allocations: 133.5 kB / 0.8353 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/1.054, allocations: 206.4 kB / 0.8355 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/1.055, allocations: 0.7517 MB / 0.8362 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.055, allocations: 3.984 kB / 0.8362 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/1.055, allocations: 2.812 kB / 0.8362 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.055, allocations: 0 / 0.8362 GB, free: 10.07 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.001157/1.057, allocations: 0.6981 MB / 0.8369 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/1.057, allocations: 14.06 kB / 0.8369 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.058, allocations: 146.5 kB / 0.8371 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/1.058, allocations: 400.3 kB / 0.8375 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/1.058, allocations: 18.59 kB / 0.8375 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/1.058, allocations: 22.97 kB / 0.8375 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/1.059, allocations: 284.4 kB / 0.8378 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.059, allocations: 3.906 kB / 0.8378 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/1.059, allocations: 6.812 kB / 0.8378 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/1.059, allocations: 15.86 kB / 0.8378 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/1.059, allocations: 185.8 kB / 0.838 GB, free: 8.719 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.001736/1.061, allocations: 1.287 MB / 0.8392 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/1.062, allocations: 200.7 kB / 0.8394 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.062, allocations: 80.77 kB / 0.8395 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/1.062, allocations: 2.938 kB / 0.8395 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.062, allocations: 34.91 kB / 0.8395 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/1.062, allocations: 0 / 0.8395 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.0009154/1.063, allocations: 398.4 kB / 0.8399 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/1.063, allocations: 54.09 kB / 0.84 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/1.063, allocations: 306.3 kB / 0.8403 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/1.063, allocations: 35.83 kB / 0.8403 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/1.063, allocations: 185.9 kB / 0.8405 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/1.063, allocations: 70.75 kB / 0.8405 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/1.063, allocations: 50.95 kB / 0.8406 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.063, allocations: 335.9 kB / 0.8409 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/1.064, allocations: 58.19 kB / 0.841 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/1.064, allocations: 133.4 kB / 0.8411 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/1.064, allocations: 192.7 kB / 0.8413 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.064, allocations: 0 / 0.8413 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003333/1.064, allocations: 244.2 kB / 0.8415 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.064, allocations: 8.312 kB / 0.8415 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.064, allocations: 3.938 kB / 0.8415 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.064, allocations: 4.781 kB / 0.8415 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.065, allocations: 43.25 kB / 0.8416 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/1.065, allocations: 6.906 kB / 0.8416 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/1.065, allocations: 24.09 kB / 0.8416 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.065, allocations: 5.719 kB / 0.8416 GB, free: 5.684 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.0001738/1.065, allocations: 160.3 kB / 0.8417 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/1.065, allocations: 30.59 kB / 0.8418 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/1.065, allocations: 34.33 kB / 0.8418 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.065, allocations: 6.953 kB / 0.8418 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.065, allocations: 0 / 0.8418 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.065, allocations: 3.938 kB / 0.8418 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/1.066, allocations: 404.7 kB / 0.8422 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.066, allocations: 4 kB / 0.8422 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.066, allocations: 40.38 kB / 0.8423 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/1.066, allocations: 38.17 kB / 0.8423 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.066, allocations: 6.188 kB / 0.8423 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/1.067, allocations: 1.508 MB / 0.8438 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.067, allocations: 3.938 kB / 0.8438 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/1.068, allocations: 407.7 kB / 0.8442 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.068, allocations: 132.1 kB / 0.8443 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/1.068, allocations: 6.75 kB / 0.8443 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/1.068, allocations: 10.08 kB / 0.8443 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/1.068, allocations: 11.27 kB / 0.8443 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.068, allocations: 3.047 kB / 0.8443 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002306/1.069, allocations: 221.6 kB / 0.8445 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.375e-06/1.069, allocations: 4 kB / 0.8445 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003935/1.069, allocations: 109.3 kB / 0.8446 GB, free: 2.953 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.0001912/1.069, allocations: 126.9 kB / 0.8448 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002985/1.07, allocations: 165.8 kB / 0.8449 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.07, allocations: 3.25 kB / 0.8449 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/1.07, allocations: 193.4 kB / 0.8451 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/1.071, allocations: 189.6 kB / 0.8453 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/1.072, allocations: 0.7525 MB / 0.846 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/1.073, allocations: 0.7905 MB / 0.8468 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002168/1.073, allocations: 57.62 kB / 0.8468 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/1.073, allocations: 24.34 kB / 0.8469 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/1.073, allocations: 4 kB / 0.8469 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.01122/1.084, allocations: 6.295 MB / 0.853 GB, free: 14.09 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)