Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008736/0.0008737, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006156/0.006156, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.413/1.413, 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.832/2.832, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 9.062 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3138, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.01902/0.3328, allocations: 20.69 MB / 1.094 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.3446, allocations: 7.649 MB / 1.102 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.3457, allocations: 19.88 kB / 1.102 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.3467, allocations: 266.4 kB / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.3489, allocations: 0.7389 MB / 1.103 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.351, allocations: 0.7471 MB / 1.104 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.353, allocations: 1.856 MB / 1.105 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.3538, allocations: 0.5587 MB / 1.106 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.3548, allocations: 0.5715 MB / 1.106 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.3553, allocations: 465.8 kB / 1.107 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.3554, allocations: 24 kB / 1.107 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.3567, allocations: 0.8227 MB / 1.108 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3569, allocations: 131.3 kB / 1.108 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.3572, allocations: 351.7 kB / 1.108 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.3584, allocations: 1.265 MB / 1.109 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3584, allocations: 0 / 1.109 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3585, allocations: 0 / 1.109 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.3585, allocations: 4 kB / 1.109 GB, free: 3.23 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.001898/0.3604, allocations: 0.9908 MB / 1.11 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.3604, allocations: 12.02 kB / 1.11 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3606, allocations: 87.91 kB / 1.11 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.3616, allocations: 0.6057 MB / 1.111 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3616, allocations: 37.38 kB / 1.111 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.3618, allocations: 52.03 kB / 1.111 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.3626, allocations: 0.5006 MB / 1.112 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3627, allocations: 4 kB / 1.112 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.3627, allocations: 20 kB / 1.112 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.3628, allocations: 24.92 kB / 1.112 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/0.3635, allocations: 359.8 kB / 1.112 GB, free: 440 kB / 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.002703/0.3662, allocations: 1.891 MB / 1.114 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.3668, allocations: 330.4 kB / 1.114 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3671, allocations: 176.8 kB / 1.114 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.3675, allocations: 0.503 MB / 1.115 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/0.3679, allocations: 268 kB / 1.115 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002007/0.3681, allocations: 59.59 kB / 1.115 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.3681, allocations: 4 kB / 1.115 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36): time 0.0009765/0.3691, allocations: 0.5504 MB / 1.116 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.3692, allocations: 140.5 kB / 1.116 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.3699, allocations: 0.5979 MB / 1.116 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.3699, allocations: 33.7 kB / 1.116 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.3701, allocations: 336 kB / 1.117 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3703, allocations: 122.3 kB / 1.117 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.3703, allocations: 41.7 kB / 1.117 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3705, allocations: 374.8 kB / 1.117 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.3707, allocations: 148.8 kB / 1.117 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3711, allocations: 283.9 kB / 1.118 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/0.3717, allocations: 480.1 kB / 1.118 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3717, allocations: 4 kB / 1.118 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008537/0.3726, allocations: 0.5697 MB / 1.119 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3727, allocations: 210 kB / 1.119 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3727, allocations: 7.984 kB / 1.119 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3728, allocations: 4 kB / 1.119 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.3733, allocations: 107.8 kB / 1.119 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003327/0.3736, allocations: 0.5977 MB / 1.12 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.3741, allocations: 39.97 kB / 1.12 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.3741, allocations: 20 kB / 1.12 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.3741, allocations: 4 kB / 1.12 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008054/0.3749, allocations: 0.5048 MB / 1.12 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.375, allocations: 4 kB / 1.12 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.375, allocations: 8.344 kB / 1.12 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3753, allocations: 91.83 kB / 1.12 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3753, allocations: 7.984 kB / 1.12 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.3757, allocations: 27.98 kB / 1.12 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.3758, allocations: 23.98 kB / 1.12 GB, free: 7.398 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.000308/0.3761, allocations: 340.7 kB / 1.121 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.3762, allocations: 71.09 kB / 1.121 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009474/0.3771, allocations: 0.5609 MB / 1.121 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3771, allocations: 7.984 kB / 1.121 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3771, allocations: 0 / 1.121 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3771, allocations: 4 kB / 1.121 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3788, allocations: 1.419 MB / 1.123 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3788, allocations: 4 kB / 1.123 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.3791, allocations: 63.89 kB / 1.123 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3791, allocations: 4 kB / 1.123 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.3792, allocations: 12 kB / 1.123 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002675/0.3795, allocations: 0.6057 MB / 1.123 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3795, allocations: 4 kB / 1.123 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3806, allocations: 0.9792 MB / 1.124 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3808, allocations: 196.2 kB / 1.125 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/0.3809, allocations: 15.94 kB / 1.125 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3813, allocations: 27.92 kB / 1.125 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3813, allocations: 27.91 kB / 1.125 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.3814, allocations: 15.94 kB / 1.125 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005253/0.3819, allocations: 455 kB / 1.125 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3819, allocations: 0 / 1.125 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009815/0.3829, allocations: 315.5 kB / 1.125 GB, free: 2.105 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.0005977/0.3835, allocations: 294.6 kB / 1.126 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.3849, allocations: 0.7857 MB / 1.126 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.3849, allocations: 8.062 kB / 1.126 GB, free: 1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.3853, allocations: 276.2 kB / 1.127 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.387, allocations: 255.6 kB / 1.127 GB, free: 484 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.389, allocations: 1.469 MB / 1.128 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.3894, allocations: 0.9062 MB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004546/0.3899, allocations: 132.4 kB / 1.129 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.39, allocations: 55.42 kB / 1.129 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of SimCode: time 2.164e-06/0.39, allocations: 0 / 1.129 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of Templates: time 0.01999/0.41, allocations: 11.33 MB / 1.14 GB, free: 2.637 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.sim & ./Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe 2>&1)