Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 195.7 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6454/0.6454, allocations: 95.47 MB / 364.8 MB, free: 10.18 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.92 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4129, allocations: 69.08 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6767/1.09, allocations: 175.8 MB / 0.6734 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003272/1.093, allocations: 1.397 MB / 0.6748 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008896/1.094, allocations: 11.94 kB / 0.6748 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009259/1.095, allocations: 165.5 kB / 0.6749 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003232/1.098, allocations: 0.8268 MB / 0.6758 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/1.1, allocations: 425.6 kB / 0.6762 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001407/1.101, allocations: 1.152 MB / 0.6773 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/1.101, allocations: 205.3 kB / 0.6775 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/1.102, allocations: 305.3 kB / 0.6778 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/1.103, allocations: 290.5 kB / 0.6781 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/1.103, allocations: 15.25 kB / 0.6781 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/1.105, allocations: 1.019 MB / 0.6791 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/1.105, allocations: 103.7 kB / 0.6792 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/1.105, allocations: 197.4 kB / 0.6793 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/1.107, allocations: 0.9901 MB / 0.6803 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.107, allocations: 0 / 0.6803 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.107, allocations: 0 / 0.6803 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.107, allocations: 0 / 0.6803 GB, free: 10.21 MB / 0.4981 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.001295/1.108, allocations: 0.7634 MB / 0.6811 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.108, allocations: 14.48 kB / 0.6811 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/1.108, allocations: 51.83 kB / 0.6811 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/1.109, allocations: 448.2 kB / 0.6816 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.109, allocations: 15.34 kB / 0.6816 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/1.109, allocations: 27.62 kB / 0.6816 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/1.11, allocations: 254.4 kB / 0.6818 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.11, allocations: 7.188 kB / 0.6818 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/1.11, allocations: 12.84 kB / 0.6819 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.11, allocations: 5.531 kB / 0.6819 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/1.11, allocations: 239.6 kB / 0.6821 GB, free: 9.145 MB / 0.4981 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.001718/1.112, allocations: 1.282 MB / 0.6833 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/1.112, allocations: 221.2 kB / 0.6836 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.112, allocations: 121.5 kB / 0.6837 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/1.113, allocations: 456.2 kB / 0.6841 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/1.113, allocations: 36.36 kB / 0.6841 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/1.113, allocations: 0 / 0.6841 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.005334/1.118, allocations: 1.569 MB / 0.6857 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.118, allocations: 54.03 kB / 0.6857 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/1.119, allocations: 322.4 kB / 0.686 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/1.119, allocations: 30.98 kB / 0.6861 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.119, allocations: 185.9 kB / 0.6862 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.119, allocations: 115.2 kB / 0.6863 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.119, allocations: 56.77 kB / 0.6864 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.119, allocations: 355.5 kB / 0.6867 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/1.119, allocations: 117.5 kB / 0.6869 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/1.12, allocations: 176.7 kB / 0.687 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006915/1.127, allocations: 1.349 MB / 0.6883 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.127, allocations: 0 / 0.6883 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009173/1.128, allocations: 472.8 kB / 0.6888 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.128, allocations: 5.281 kB / 0.6888 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.128, allocations: 2.406 kB / 0.6888 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/1.128, allocations: 89.78 kB / 0.6889 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/1.128, allocations: 70.67 kB / 0.6889 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.13, allocations: 1.729 MB / 0.6906 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/1.13, allocations: 22.39 kB / 0.6907 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/1.13, allocations: 14.67 kB / 0.6907 GB, free: 4.039 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 33 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004007/1.131, allocations: 213.4 kB / 0.6909 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/1.131, allocations: 37.28 kB / 0.6909 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.132, allocations: 490.9 kB / 0.6914 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.132, allocations: 2.531 kB / 0.6914 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.132, allocations: 2.25 kB / 0.6914 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.132, allocations: 3.938 kB / 0.6914 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/1.134, allocations: 1.078 MB / 0.6924 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.134, allocations: 0 / 0.6924 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/1.135, allocations: 73.42 kB / 0.6925 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/1.135, allocations: 80.61 kB / 0.6926 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/1.135, allocations: 16.58 kB / 0.6926 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.137, allocations: 1.537 MB / 0.6941 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.137, allocations: 1.844 kB / 0.6941 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.138, allocations: 0.6642 MB / 0.6948 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/1.138, allocations: 152 kB / 0.6949 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/1.138, allocations: 17.17 kB / 0.6949 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.139, allocations: 11.55 kB / 0.6949 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/1.139, allocations: 37.12 kB / 0.695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/1.139, allocations: 13.25 kB / 0.695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000277/1.139, allocations: 233.4 kB / 0.6952 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.139, allocations: 0 / 0.6952 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008516/1.14, allocations: 208.7 kB / 0.6954 GB, free: 1.262 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * 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 (33): * Single equations (assignments): 32 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006066/1.141, allocations: 289.6 kB / 0.6957 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000752/1.141, allocations: 441.9 kB / 0.6961 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.141, allocations: 4.188 kB / 0.6961 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/1.142, allocations: 293.1 kB / 0.6964 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.143, allocations: 214.5 kB / 0.6966 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/1.146, allocations: 1.068 MB / 0.6976 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/1.147, allocations: 0.8057 MB / 0.6984 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005473/1.147, allocations: 84.16 kB / 0.6985 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.147, allocations: 32.53 kB / 0.6985 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.785e-06/1.147, allocations: 6.188 kB / 0.6985 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.02447/1.172, allocations: 10.15 MB / 0.7084 GB, free: 9.527 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)