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.0009177/0.0009179, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.945/2.945, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003692, allocations: 7.906 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3737, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.0009878/0.3747, allocations: 453.6 kB / 1.058 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3762, allocations: 1.143 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3763, allocations: 7.938 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.3765, allocations: 19.86 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.671e-05/0.3765, allocations: 3.938 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.3771, allocations: 110.6 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3773, allocations: 99.75 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3774, allocations: 19.98 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.3775, allocations: 35.89 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.3776, allocations: 31.84 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3776, allocations: 4 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.3777, allocations: 15.98 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.3777, allocations: 11.94 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.3778, allocations: 37.64 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.378, allocations: 71.83 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.378, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.766e-06/0.378, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.378, allocations: 7.938 kB / 1.06 GB, free: 3.242 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.0005658/0.3786, allocations: 393 kB / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3786, allocations: 12.02 kB / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.3787, allocations: 11.91 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.379, allocations: 199 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3791, allocations: 7.984 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3791, allocations: 11.95 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3792, allocations: 76.2 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3793, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3793, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.3793, allocations: 3.938 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.3793, allocations: 15.98 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3799, allocations: 0.4892 MB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.284e-05/0.3799, allocations: 22.52 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.3799, allocations: 8.922 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-06/0.38, allocations: 0 / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3801, allocations: 55.39 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3801, allocations: 4 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001841/0.3803, allocations: 65.58 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3804, allocations: 63.34 kB / 1.061 GB, free: 1.613 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.0001511/0.3805, allocations: 149.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3806, allocations: 25.7 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.3806, allocations: 104 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.3807, allocations: 4 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.3807, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3808, allocations: 322.8 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.3809, allocations: 23.98 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.3809, allocations: 54.56 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.381, allocations: 57.69 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.381, allocations: 0 / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.3813, allocations: 143.2 kB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.3813, allocations: 41.69 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3813, allocations: 0 / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3814, allocations: 4.094 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.3814, allocations: 0 / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3814, allocations: 7.938 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.3816, allocations: 39.81 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3817, allocations: 7.953 kB / 1.062 GB, free: 0.5859 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: 4 ($PRE.pul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/0.3818, allocations: 125.8 kB / 1.062 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3818, allocations: 7.906 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.3818, allocations: 8.25 kB / 1.062 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3818, allocations: 4.234 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3818, allocations: 3.938 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3818, allocations: 3.984 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.382, allocations: 181.6 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.382, allocations: 7.938 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.382, allocations: 0 / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.382, allocations: 0 / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.382, allocations: 4 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.382, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.382, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.3821, allocations: 92.91 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.3822, allocations: 85.02 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3822, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.3822, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.3823, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3823, allocations: 11.98 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.3824, allocations: 103.8 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3824, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002089/0.3826, allocations: 20 kB / 1.063 GB, free: 15.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.3827, allocations: 107.2 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.383, allocations: 119.3 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.383, allocations: 0 / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.383, allocations: 16.19 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3832, allocations: 17.81 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3835, allocations: 163.3 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3838, allocations: 0.6926 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.3838, allocations: 4 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.3839, allocations: 15.42 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of SimCode: time 1.593e-06/0.3839, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.003351/0.3872, allocations: 1.063 MB / 1.065 GB, free: 13.59 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)