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.001417/0.001417, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001674/0.001674, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.5 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3978, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.00233/0.4002, allocations: 0.9123 MB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.4018, allocations: 1.17 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.4019, allocations: 7.938 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.4021, allocations: 23.78 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.4021, allocations: 7.938 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.4026, allocations: 135.3 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.4028, allocations: 175.6 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.403, allocations: 45.31 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.4031, allocations: 55.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.637e-05/0.4032, allocations: 55.75 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.4032, allocations: 12 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.4033, allocations: 31.92 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.4033, allocations: 8 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.4034, allocations: 59.72 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.4036, allocations: 175.8 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4037, allocations: 0 / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4037, allocations: 0 / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4037, allocations: 0 / 1.07 GB, free: 7.898 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.0005934/0.4043, allocations: 432.7 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4043, allocations: 12.03 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.4044, allocations: 12.84 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.4046, allocations: 224 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.4047, allocations: 4.375 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.4047, allocations: 8.375 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4048, allocations: 84.75 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4049, allocations: 4.188 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4049, allocations: 3.938 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4049, allocations: 4 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.405, allocations: 27.92 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.4055, allocations: 0.536 MB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.493e-05/0.4056, allocations: 26.58 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.4056, allocations: 12.92 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4056, allocations: 3.984 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.4058, allocations: 67.31 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.4058, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.4061, allocations: 77.59 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4061, allocations: 55.41 kB / 1.072 GB, free: 6.113 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.0001732/0.4063, allocations: 185 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.4063, allocations: 29.7 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.4064, allocations: 100.1 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.4064, allocations: 19.83 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.4065, allocations: 29.7 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4066, allocations: 322.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.4067, allocations: 43.92 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.4068, allocations: 54.56 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.4069, allocations: 92.2 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002833/0.4072, allocations: 163.2 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.4073, allocations: 45.75 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4073, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4073, allocations: 7.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.4074, allocations: 3.938 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.4074, allocations: 4 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4076, allocations: 35.88 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.4076, allocations: 7.984 kB / 1.073 GB, free: 4.914 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.0001062/0.4078, allocations: 121.8 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.4078, allocations: 7.906 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.4078, allocations: 12.94 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4078, allocations: 3.984 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4078, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4078, allocations: 3.938 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.408, allocations: 189.6 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.408, allocations: 0 / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.408, allocations: 4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.408, allocations: 0 / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.408, allocations: 0 / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4081, allocations: 4 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4081, allocations: 0 / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.4082, allocations: 100.8 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.4083, allocations: 89 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4083, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.393e-05/0.4083, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.4084, allocations: 7.938 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.4084, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.336e-05/0.4085, allocations: 132.9 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4085, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002249/0.4087, allocations: 16 kB / 1.074 GB, free: 4.133 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.0001504/0.4089, allocations: 107.2 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.4091, allocations: 135.3 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4091, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.4092, allocations: 23.98 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4094, allocations: 27.33 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.4098, allocations: 206.9 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.4101, allocations: 0.7002 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.4101, allocations: 4.438 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.4102, allocations: 11.44 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4102, allocations: 7.938 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of Templates: time 0.004204/0.4144, allocations: 1.446 MB / 1.076 GB, free: 1.422 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)