Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 91.38 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.01021/0.01021, allocations: 173.2 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.616/1.616, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 12.75 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3655, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001274/0.3668, allocations: 0.5696 MB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3684, allocations: 1.178 MB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.3685, allocations: 0 / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.3687, allocations: 19.86 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.3687, allocations: 11.86 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.3692, allocations: 131.3 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3694, allocations: 151.6 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3695, allocations: 41.38 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.3696, allocations: 43.78 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.3697, allocations: 39.83 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3697, allocations: 4 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.3698, allocations: 19.98 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.3698, allocations: 15.86 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.3699, allocations: 69.44 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3701, allocations: 159.5 kB / 1.077 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3701, allocations: 4 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3701, allocations: 4 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3701, allocations: 0 / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004912/0.3706, allocations: 409.1 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3707, allocations: 12.03 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.3707, allocations: 12.84 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.371, allocations: 216.1 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.371, allocations: 4.375 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.371, allocations: 4.375 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3712, allocations: 96.69 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3712, allocations: 192 / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3712, allocations: 3.938 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3712, allocations: 4 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.3713, allocations: 27.92 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.3719, allocations: 0.5321 MB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.3719, allocations: 34.56 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.372, allocations: 12.92 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.372, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.3721, allocations: 67.38 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3722, allocations: 4 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.3724, allocations: 81.53 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3724, allocations: 59.33 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3726, allocations: 179.2 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3726, allocations: 29.7 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3727, allocations: 100.1 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.3727, allocations: 11.84 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.3728, allocations: 17.72 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3729, allocations: 326.8 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.373, allocations: 35.98 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.3731, allocations: 62.53 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3732, allocations: 92.2 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3732, allocations: 0 / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002711/0.3735, allocations: 171.1 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.3735, allocations: 33.7 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3735, allocations: 0 / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3736, allocations: 4 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.3736, allocations: 7.984 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3736, allocations: 4 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.3739, allocations: 43.91 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3739, allocations: 4 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001087/0.374, allocations: 125.8 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.374, allocations: 7.906 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3741, allocations: 12.94 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3741, allocations: 0 / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3741, allocations: 0 / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3741, allocations: 3.938 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3742, allocations: 193.6 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3743, allocations: 4 kB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.3743, allocations: 0 / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3743, allocations: 0 / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.3743, allocations: 0 / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3743, allocations: 7.984 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3743, allocations: 0 / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.3744, allocations: 100.8 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.3745, allocations: 81.02 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3745, allocations: 12.06 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.3745, allocations: 3.984 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3746, allocations: 3.938 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.3746, allocations: 4 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.336e-05/0.3747, allocations: 128.8 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3747, allocations: 0 / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002178/0.3749, allocations: 20 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.3751, allocations: 107.2 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3753, allocations: 135.3 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3753, allocations: 0 / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.3754, allocations: 16 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.3756, allocations: 25.23 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.376, allocations: 211.7 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3763, allocations: 0.7003 MB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.3763, allocations: 4.438 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.3763, allocations: 19.44 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3763, allocations: 0 / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of Templates: time 0.004269/0.3806, allocations: 1.384 MB / 1.082 GB, free: 14.71 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1)