Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.PlaceholderLogical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009584, allocations: 92.08 kB / 16.02 MB, free: 80 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.001009/0.001009, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004151, allocations: 10.59 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.000996/0.297, allocations: 477.3 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.2985, allocations: 1.159 MB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.2986, allocations: 4 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2988, allocations: 19.86 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.708e-05/0.2988, allocations: 7.922 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.2993, allocations: 114.7 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2994, allocations: 123.7 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2995, allocations: 20 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2997, allocations: 39.78 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.2997, allocations: 35.84 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2998, allocations: 4 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.2998, allocations: 19.97 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.2999, allocations: 4 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.2999, allocations: 65.5 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.3001, allocations: 79.81 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3001, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3001, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3001, allocations: 0 / 1.061 GB, free: 2.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004205/0.3005, allocations: 389.2 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3006, allocations: 12.03 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.3006, allocations: 12.84 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3009, allocations: 202.7 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3009, allocations: 4.375 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3009, allocations: 12.31 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.301, allocations: 72.81 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3011, allocations: 192 / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3011, allocations: 3.938 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3011, allocations: 4 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.3011, allocations: 19.94 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.3016, allocations: 0.4892 MB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.3016, allocations: 18.52 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3017, allocations: 16.92 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.3017, allocations: 3.984 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.3018, allocations: 59.39 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3018, allocations: 0 / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001795/0.302, allocations: 65.53 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3021, allocations: 51.41 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3022, allocations: 168.4 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3022, allocations: 33.7 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.3023, allocations: 92.14 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.3023, allocations: 7.891 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.3024, allocations: 17.72 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3025, allocations: 322.8 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.3026, allocations: 23.98 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.3026, allocations: 50.56 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3028, allocations: 84.2 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3028, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002357/0.303, allocations: 147.2 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.3031, allocations: 37.69 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3031, allocations: 0 / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3031, allocations: 0 / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-05/0.3031, allocations: 4 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3031, allocations: 8.031 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.3034, allocations: 31.97 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3034, allocations: 12 kB / 1.064 GB, free: 48 kB / 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: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001023/0.3035, allocations: 121.8 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3035, allocations: 11.91 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.3035, allocations: 8.25 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3036, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3036, allocations: 3.938 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3036, allocations: 64 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3037, allocations: 177.6 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3037, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-06/0.3037, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3037, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3037, allocations: 7.938 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3038, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3038, allocations: 7.938 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3039, allocations: 81.02 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.3039, allocations: 85.02 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3039, allocations: 3.938 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.304, allocations: 288 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.304, allocations: 7.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.304, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.3041, allocations: 117.7 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3041, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002805/0.3044, allocations: 20 kB / 1.064 GB, free: 15.3 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: 3 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001608/0.3045, allocations: 107.2 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3047, allocations: 115.4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3047, allocations: 3.938 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.3048, allocations: 15.94 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.305, allocations: 16.17 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.3053, allocations: 196.9 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3056, allocations: 0.6926 MB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.3056, allocations: 11.44 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3056, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.002649/0.3083, allocations: 1.133 MB / 1.067 GB, free: 12.95 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1)