Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_latest_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_latest_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.001337/0.001337, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 198.1 kB / 16.79 MB, free: 6.828 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 66.73 kB / 0.8991 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002375/0.2998, allocations: 0.9063 MB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3015, allocations: 1.198 MB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3016, allocations: 0 / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.3018, allocations: 23.8 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.3018, allocations: 3.938 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.3024, allocations: 139 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.3025, allocations: 147.6 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3027, allocations: 41.3 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.714e-05/0.3028, allocations: 47.84 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.3029, allocations: 43.75 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3029, allocations: 8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.303, allocations: 23.92 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.303, allocations: 15.92 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.3031, allocations: 43.73 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.3033, allocations: 132 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3033, allocations: 4 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3033, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3033, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 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.0006672/0.304, allocations: 440.8 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3041, allocations: 8.031 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.3041, allocations: 16.75 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3044, allocations: 212.1 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3044, allocations: 4.375 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3045, allocations: 16.31 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3047, allocations: 84.75 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3047, allocations: 4.188 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3047, allocations: 3.938 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3047, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.3048, allocations: 27.92 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.3055, allocations: 0.54 MB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.3055, allocations: 26.58 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.3056, allocations: 8.922 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.3056, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.3058, allocations: 79.23 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3058, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002208/0.306, allocations: 77.58 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.306, allocations: 55.41 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0001783/0.3062, allocations: 176.5 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3063, allocations: 25.7 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.3063, allocations: 112 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.3064, allocations: 7.906 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.3064, allocations: 33.7 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3065, allocations: 322.8 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.3066, allocations: 39.97 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.748e-05/0.3067, allocations: 54.56 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.3069, allocations: 92.2 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3069, allocations: 4 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002826/0.3072, allocations: 167.2 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.3072, allocations: 33.7 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3072, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3072, allocations: 7.922 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.3073, allocations: 4 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3073, allocations: 3.938 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3075, allocations: 39.88 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3076, allocations: 8.297 kB / 1.058 GB, free: 2.543 MB / 0.8106 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 9.721e-05/0.3077, allocations: 121.8 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.3077, allocations: 11.84 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.3077, allocations: 16.92 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3077, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3077, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3078, allocations: 7.938 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3079, allocations: 189.6 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3079, allocations: 0 / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.308, allocations: 4 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.308, allocations: 0 / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.308, allocations: 4 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.308, allocations: 3.984 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.308, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3082, allocations: 96.91 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.3082, allocations: 85.02 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3082, allocations: 3.984 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.3083, allocations: 4 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.3083, allocations: 3.938 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3083, allocations: 4 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.892e-05/0.3084, allocations: 124 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3084, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002189/0.3087, allocations: 23.91 kB / 1.059 GB, free: 1.758 MB / 0.8106 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.0001521/0.3088, allocations: 111.2 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.309, allocations: 143.4 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3091, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.3091, allocations: 12 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3093, allocations: 18.7 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.3098, allocations: 234.1 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3101, allocations: 0.6965 MB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.3101, allocations: 11.44 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3101, allocations: 0 / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of Templates: time 0.00319/0.3133, allocations: 1.457 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1)