Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 98.19 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.006319/0.006319, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 13.09 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3688, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.02331/0.3922, allocations: 20.69 MB / 1.094 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4027, allocations: 7.653 MB / 1.102 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.4042, allocations: 23.81 kB / 1.102 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.4055, allocations: 262.5 kB / 1.102 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.4084, allocations: 0.7312 MB / 1.103 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.4111, allocations: 0.7469 MB / 1.104 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002885/0.414, allocations: 1.868 MB / 1.105 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.4151, allocations: 0.5508 MB / 1.106 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.4166, allocations: 0.5715 MB / 1.106 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/0.4174, allocations: 465.7 kB / 1.107 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.4175, allocations: 28 kB / 1.107 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.4193, allocations: 0.8227 MB / 1.108 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.4195, allocations: 131.4 kB / 1.108 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.4199, allocations: 355.7 kB / 1.108 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.4215, allocations: 1.258 MB / 1.109 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4215, allocations: 0 / 1.109 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.95e-06/0.4215, allocations: 0 / 1.109 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.4216, allocations: 3.938 kB / 1.109 GB, free: 3.301 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001996/0.4236, allocations: 0.9986 MB / 1.11 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4236, allocations: 12.03 kB / 1.11 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.4238, allocations: 83.91 kB / 1.11 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4248, allocations: 0.6095 MB / 1.111 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.4249, allocations: 37.38 kB / 1.111 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.425, allocations: 56.03 kB / 1.111 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.4259, allocations: 0.5045 MB / 1.112 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4259, allocations: 0 / 1.112 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.426, allocations: 16 kB / 1.112 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.426, allocations: 17 kB / 1.112 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.4267, allocations: 363.8 kB / 1.112 GB, free: 0.4961 MB / 0.8575 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.00266/0.4294, allocations: 1.895 MB / 1.114 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.4301, allocations: 330.4 kB / 1.114 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.4304, allocations: 178.5 kB / 1.114 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.4308, allocations: 0.4953 MB / 1.115 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.4312, allocations: 284 kB / 1.115 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002137/0.4315, allocations: 47.67 kB / 1.115 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.4315, allocations: 4 kB / 1.115 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36): time 0.00103/0.4325, allocations: 0.5504 MB / 1.116 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.4326, allocations: 148.4 kB / 1.116 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.4334, allocations: 0.5979 MB / 1.116 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.4334, allocations: 37.64 kB / 1.116 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.4337, allocations: 332 kB / 1.117 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.4338, allocations: 118.3 kB / 1.117 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.4339, allocations: 53.69 kB / 1.117 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.434, allocations: 366.8 kB / 1.117 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.4343, allocations: 148.8 kB / 1.117 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.4347, allocations: 278 kB / 1.118 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.4353, allocations: 476.1 kB / 1.118 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4353, allocations: 0 / 1.118 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009034/0.4362, allocations: 0.5774 MB / 1.119 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.4364, allocations: 211.6 kB / 1.119 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4364, allocations: 0 / 1.119 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4364, allocations: 8 kB / 1.119 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.437, allocations: 103.8 kB / 1.119 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003805/0.4374, allocations: 0.6055 MB / 1.12 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.4378, allocations: 39.89 kB / 1.12 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.4379, allocations: 23.98 kB / 1.12 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.4379, allocations: 4 kB / 1.12 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008022/0.4387, allocations: 0.5088 MB / 1.12 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4387, allocations: 4 kB / 1.12 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.4388, allocations: 8 kB / 1.12 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.4391, allocations: 83.89 kB / 1.12 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4391, allocations: 7.938 kB / 1.12 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4395, allocations: 36.31 kB / 1.12 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.4395, allocations: 20 kB / 1.12 GB, free: 7.457 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (mPre_flow.nextEventScaled,mPre_flow.nextEvent,$PRE.mPre_flow.nextEvent,mPre_flow.last,mPre_flow.b,mPre_flow.a,$whenCondition1,ideUse.conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.4399, allocations: 327.4 kB / 1.121 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.44, allocations: 67.16 kB / 1.121 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.441, allocations: 0.572 MB / 1.121 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.441, allocations: 4 kB / 1.121 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4411, allocations: 0 / 1.121 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4411, allocations: 3.984 kB / 1.121 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.4429, allocations: 1.423 MB / 1.123 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4429, allocations: 0 / 1.123 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.4432, allocations: 68.17 kB / 1.123 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4433, allocations: 4 kB / 1.123 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.4433, allocations: 19.98 kB / 1.123 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/0.4436, allocations: 0.5937 MB / 1.123 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4436, allocations: 4.031 kB / 1.123 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4448, allocations: 0.9909 MB / 1.124 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.4451, allocations: 188.2 kB / 1.125 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.4452, allocations: 15.94 kB / 1.125 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4456, allocations: 23.92 kB / 1.125 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.4457, allocations: 32.23 kB / 1.125 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.4457, allocations: 23.98 kB / 1.125 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000587/0.4463, allocations: 451 kB / 1.125 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4463, allocations: 0 / 1.125 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001124/0.4474, allocations: 311.5 kB / 1.125 GB, free: 2.168 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (ideUse.val.filter.s[1],ideUse.val.filter.s[2],ideUse.conPI.I.y) * Number of discrete variables: 6 ($whenCondition1,mPre_flow.a,mPre_flow.b,mPre_flow.last,mPre_flow.nextEvent,mPre_flow.nextEventScaled) * Number of discrete states: 6 (mPre_flow.nextEvent,mPre_flow.last,mPre_flow.nextEventScaled,mPre_flow.b,mPre_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007526/0.4482, allocations: 281.2 kB / 1.126 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.4497, allocations: 0.7962 MB / 1.126 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4497, allocations: 0 / 1.126 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.4502, allocations: 281.9 kB / 1.127 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.452, allocations: 262.7 kB / 1.127 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.4544, allocations: 1.463 MB / 1.128 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.455, allocations: 0.9101 MB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005636/0.4556, allocations: 134.5 kB / 1.129 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4557, allocations: 51.36 kB / 1.129 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of SimCode: time 8.61e-07/0.4558, allocations: 0 / 1.129 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of Templates: time 0.0228/0.4786, allocations: 11.34 MB / 1.14 GB, free: 2.688 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.sim & ./Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe 2>&1)