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.0009056/0.000906, allocations: 92.78 kB / 15.36 MB, free: 0.7344 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.007076/0.007077, allocations: 169 kB / 16.26 MB, free: 6.68 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.741/1.741, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.6257/0.6257, allocations: 95.64 MB / 366.4 MB, free: 10.29 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.0006482/0.0006483, allocations: 16 kB / 447.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4561, allocations: 70.32 MB / 0.5056 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6575/1.114, allocations: 173.5 MB / 0.6751 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003495/1.117, allocations: 1.382 MB / 0.6764 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/1.118, allocations: 10.81 kB / 0.6764 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/1.118, allocations: 172.6 kB / 0.6766 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002986/1.121, allocations: 0.8278 MB / 0.6774 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/1.123, allocations: 432.2 kB / 0.6778 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00174/1.125, allocations: 1.147 MB / 0.6789 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/1.125, allocations: 205.8 kB / 0.6791 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/1.126, allocations: 292.4 kB / 0.6794 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/1.127, allocations: 287.4 kB / 0.6797 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/1.127, allocations: 10.88 kB / 0.6797 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/1.13, allocations: 1.013 MB / 0.6807 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/1.13, allocations: 101.4 kB / 0.6808 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/1.13, allocations: 216.5 kB / 0.681 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/1.132, allocations: 0.9797 MB / 0.682 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.132, allocations: 0 / 0.682 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/1.132, allocations: 0 / 0.682 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.767e-06/1.132, allocations: 4 kB / 0.682 GB, free: 9.75 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.00131/1.133, allocations: 0.691 MB / 0.6826 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/1.133, allocations: 15.02 kB / 0.6826 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/1.134, allocations: 44.19 kB / 0.6827 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/1.134, allocations: 448.5 kB / 0.6831 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/1.135, allocations: 15.97 kB / 0.6831 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/1.135, allocations: 27.94 kB / 0.6832 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/1.135, allocations: 251.4 kB / 0.6834 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.135, allocations: 0 / 0.6834 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/1.135, allocations: 13.78 kB / 0.6834 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.135, allocations: 6.062 kB / 0.6834 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/1.136, allocations: 246.7 kB / 0.6837 GB, free: 8.711 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.001771/1.137, allocations: 1.281 MB / 0.6849 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/1.138, allocations: 230.1 kB / 0.6851 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/1.138, allocations: 125.5 kB / 0.6852 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/1.138, allocations: 450.5 kB / 0.6857 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.139, allocations: 40.91 kB / 0.6857 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/1.139, allocations: 0 / 0.6857 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.005785/1.144, allocations: 1.588 MB / 0.6873 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/1.144, allocations: 64.36 kB / 0.6873 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/1.145, allocations: 317.8 kB / 0.6876 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/1.145, allocations: 32.2 kB / 0.6877 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/1.145, allocations: 176.1 kB / 0.6878 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.145, allocations: 116.1 kB / 0.6879 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/1.145, allocations: 33.83 kB / 0.688 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.145, allocations: 344.9 kB / 0.6883 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/1.146, allocations: 124.7 kB / 0.6884 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/1.146, allocations: 172.6 kB / 0.6886 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/1.153, allocations: 1.427 MB / 0.69 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.153, allocations: 0 / 0.69 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001002/1.154, allocations: 471.1 kB / 0.6904 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.154, allocations: 2.562 kB / 0.6904 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.154, allocations: 2.219 kB / 0.6904 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/1.155, allocations: 89.08 kB / 0.6905 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/1.155, allocations: 76.64 kB / 0.6906 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.157, allocations: 1.747 MB / 0.6923 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/1.158, allocations: 23.14 kB / 0.6923 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/1.158, allocations: 6.188 kB / 0.6923 GB, free: 3.59 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.000439/1.158, allocations: 217.9 kB / 0.6925 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/1.158, allocations: 38.75 kB / 0.6926 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.159, allocations: 482.2 kB / 0.693 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.159, allocations: 6.562 kB / 0.693 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.159, allocations: 2 kB / 0.693 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.159, allocations: 0 / 0.693 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/1.161, allocations: 1.071 MB / 0.6941 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.161, allocations: 7.984 kB / 0.6941 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/1.162, allocations: 75.11 kB / 0.6942 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/1.162, allocations: 71.45 kB / 0.6942 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/1.162, allocations: 13.16 kB / 0.6942 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.164, allocations: 1.56 MB / 0.6958 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.164, allocations: 4.062 kB / 0.6958 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.165, allocations: 0.6647 MB / 0.6964 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/1.165, allocations: 165.3 kB / 0.6966 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/1.165, allocations: 9.594 kB / 0.6966 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.166, allocations: 16.27 kB / 0.6966 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/1.166, allocations: 26.84 kB / 0.6966 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/1.166, allocations: 21.89 kB / 0.6966 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002551/1.166, allocations: 227.7 kB / 0.6969 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.166, allocations: 4 kB / 0.6969 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008852/1.167, allocations: 210.5 kB / 0.6971 GB, free: 0.8086 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.0006094/1.167, allocations: 294 kB / 0.6973 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007537/1.168, allocations: 438 kB / 0.6978 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.168, allocations: 0 / 0.6978 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003849/1.169, allocations: 293.4 kB / 0.698 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.17, allocations: 217.2 kB / 0.6983 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.172, allocations: 1.151 MB / 0.6994 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/1.172, allocations: 0.8067 MB / 0.7002 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003691/1.173, allocations: 83.88 kB / 0.7002 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/1.173, allocations: 39.95 kB / 0.7003 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/1.173, allocations: 0 / 0.7003 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.02036/1.193, allocations: 10.18 MB / 0.7102 GB, free: 9.633 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: