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.001382/0.001382, 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.001854/0.001854, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.47 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002478/0.3814, allocations: 0.9067 MB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3833, allocations: 1.186 MB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3834, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.3836, allocations: 19.86 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.3837, allocations: 15.86 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.3843, allocations: 127 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3845, allocations: 147.7 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3846, allocations: 49.34 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.3847, allocations: 43.8 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.3848, allocations: 51.7 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.3849, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.3849, allocations: 19.98 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.385, allocations: 15.92 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.3851, allocations: 55.66 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3853, allocations: 159.5 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3853, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3853, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3853, allocations: 4 kB / 1.07 GB, free: 8.082 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.0005988/0.3859, allocations: 433 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.386, allocations: 12.03 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.386, allocations: 12.84 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3863, allocations: 224 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3863, allocations: 4.375 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3864, allocations: 4.375 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3865, allocations: 88.75 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3865, allocations: 192 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3865, allocations: 3.938 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3866, allocations: 4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.3866, allocations: 31.92 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.3873, allocations: 0.5282 MB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/0.3873, allocations: 38.5 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.3874, allocations: 12.92 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3874, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.3875, allocations: 63.39 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3875, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.3878, allocations: 81.53 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3878, allocations: 55.39 kB / 1.072 GB, free: 6.297 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.0001893/0.388, allocations: 179.2 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3881, allocations: 29.7 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.3882, allocations: 108.1 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.3882, allocations: 7.844 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.3883, allocations: 37.7 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3884, allocations: 318.8 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.3885, allocations: 35.98 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.3886, allocations: 62.55 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3887, allocations: 96.27 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3887, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002937/0.389, allocations: 163.2 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.3891, allocations: 39.42 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3891, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3891, allocations: 4.062 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.3892, allocations: 7.938 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3892, allocations: 3.984 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3894, allocations: 35.75 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3894, allocations: 8 kB / 1.073 GB, free: 5.105 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.0001047/0.3895, allocations: 121.8 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.3896, allocations: 11.91 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.3896, allocations: 16.92 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3896, allocations: 4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3896, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3896, allocations: 3.938 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3898, allocations: 185.6 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3898, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.3898, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3898, allocations: 4.234 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3898, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3898, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3898, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.39, allocations: 108.8 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.3901, allocations: 89.02 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3901, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.3901, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3902, allocations: 19.8 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3902, allocations: 0 / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3903, allocations: 124.9 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3903, allocations: 8 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002313/0.3905, allocations: 16 kB / 1.074 GB, free: 4.309 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.0001704/0.3907, allocations: 107.2 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.391, allocations: 135.4 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.391, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.391, allocations: 15.94 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3913, allocations: 26.92 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.3917, allocations: 196.4 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3919, allocations: 0.7043 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.392, allocations: 8.422 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.392, allocations: 15.38 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.392, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.00433/0.3963, allocations: 1.385 MB / 1.076 GB, free: 1.668 MB / 0.8262 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)