Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001486/0.001486, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00201/0.00201, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 70.98 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3368, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002381/0.3393, allocations: 0.9129 MB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3408, allocations: 1.166 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.3409, allocations: 3.938 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.341, allocations: 19.86 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.3411, allocations: 15.91 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.3416, allocations: 131.1 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3418, allocations: 175.6 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.342, allocations: 45.38 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.342, allocations: 59.77 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.3421, allocations: 47.78 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3422, allocations: 16 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.3423, allocations: 23.98 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3423, allocations: 19.92 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.3424, allocations: 59.7 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3426, allocations: 171.5 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3426, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3426, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3426, allocations: 0 / 1.07 GB, free: 7.957 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.0005449/0.3432, allocations: 440.9 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3432, allocations: 8.031 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.3433, allocations: 12.84 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3435, allocations: 216 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3435, allocations: 4.375 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3436, allocations: 12.38 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.3437, allocations: 84.75 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3437, allocations: 192 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3437, allocations: 7.938 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3438, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.3438, allocations: 31.91 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.3444, allocations: 0.5438 MB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.3445, allocations: 26.58 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.3445, allocations: 8.922 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3445, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.3446, allocations: 75.33 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3447, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002228/0.3449, allocations: 77.58 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3449, allocations: 51.41 kB / 1.072 GB, free: 6.168 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.0001824/0.3451, allocations: 183.2 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3452, allocations: 25.7 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.3453, allocations: 112 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3453, allocations: 11.84 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.3454, allocations: 33.7 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3455, allocations: 322.8 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3457, allocations: 35.97 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3458, allocations: 58.55 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3459, allocations: 92.27 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3459, allocations: 12 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003257/0.3463, allocations: 167.2 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.3463, allocations: 29.7 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3463, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.3464, allocations: 3.984 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.3465, allocations: 4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3465, allocations: 3.938 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3467, allocations: 39.88 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.3468, allocations: 4 kB / 1.073 GB, free: 4.969 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.0001387/0.3469, allocations: 121.8 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3469, allocations: 7.906 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.347, allocations: 12.94 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.347, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.347, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.347, allocations: 3.938 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3472, allocations: 189.6 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3472, allocations: 8 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.3473, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3473, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3473, allocations: 3.984 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3473, allocations: 7.938 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3473, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3474, allocations: 96.88 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3475, allocations: 81.02 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.3475, allocations: 11.98 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.3475, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.3476, allocations: 3.938 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3476, allocations: 4 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3477, allocations: 124.9 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3477, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002395/0.348, allocations: 20 kB / 1.074 GB, free: 4.188 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.0002462/0.3482, allocations: 111.2 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.3485, allocations: 143.6 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3485, allocations: 4 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.3486, allocations: 16.08 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3489, allocations: 19.92 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.3494, allocations: 211.9 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3497, allocations: 0.6924 MB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.3497, allocations: 12.42 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.3497, allocations: 11.44 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of SimCode: time 2.435e-06/0.3497, allocations: 4 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.004217/0.354, allocations: 1.451 MB / 1.076 GB, free: 1.469 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1)