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.001465/0.001471, 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.001118/0.001118, allocations: 192.9 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 61.83 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4225, 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.002429/0.425, allocations: 0.907 MB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.4265, allocations: 1.197 MB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.4266, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.4268, allocations: 15.86 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.4269, allocations: 11.88 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.4273, allocations: 131.3 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.4275, allocations: 147.7 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.4276, allocations: 41.38 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.4277, allocations: 47.8 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.4278, allocations: 43.77 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.4278, allocations: 11.94 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.4279, allocations: 27.97 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.4279, allocations: 11.92 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.428, allocations: 51.67 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.4282, allocations: 167.5 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4282, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4282, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4282, allocations: 0 / 1.07 GB, free: 8.078 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.0005734/0.4288, allocations: 433 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4289, allocations: 8.031 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.4289, allocations: 12.84 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.4292, allocations: 224 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4292, allocations: 4.375 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.4292, allocations: 16.36 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4294, allocations: 80.75 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4294, allocations: 192 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4294, allocations: 7.938 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4294, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.4295, allocations: 27.92 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.43, allocations: 0.5322 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.4301, allocations: 34.5 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.4301, allocations: 16.92 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.4301, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.4303, allocations: 59.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.4303, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002123/0.4305, allocations: 77.53 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.4306, 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.0001742/0.4307, allocations: 179.2 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4308, allocations: 33.7 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.4308, allocations: 104.1 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.4309, allocations: 11.84 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.4309, allocations: 29.7 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4311, allocations: 326.8 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.4312, allocations: 35.98 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.4313, allocations: 54.55 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.4314, allocations: 96.2 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4314, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000284/0.4317, allocations: 167.2 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.4317, allocations: 33.7 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4317, allocations: 4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4318, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.4318, allocations: 8.062 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4318, allocations: 11.98 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.4321, allocations: 39.75 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4321, allocations: 4 kB / 1.073 GB, free: 5.102 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.000119/0.4322, allocations: 121.8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.4323, allocations: 7.906 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.4323, allocations: 16.92 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4323, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4323, allocations: 4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4323, allocations: 3.938 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.4325, allocations: 193.6 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4325, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.4326, allocations: 4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4326, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4326, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4326, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4326, allocations: 4 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.4328, allocations: 105.1 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.4329, allocations: 85.05 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4329, allocations: 4 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.699e-05/0.4329, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.433, allocations: 11.86 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.433, allocations: 4 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001148/0.4331, allocations: 124.9 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4331, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002434/0.4334, allocations: 20 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.000207/0.4336, allocations: 115.2 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.4338, allocations: 127.4 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4339, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.4339, allocations: 19.94 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4342, allocations: 18.8 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4347, allocations: 204.5 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4351, allocations: 0.7004 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.4351, allocations: 12.42 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.4352, allocations: 11.44 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4352, allocations: 3.938 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of Templates: time 0.004311/0.4395, allocations: 1.389 MB / 1.076 GB, free: 1.668 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)