Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.PlaceholderLogical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.0008235/0.0008235, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005263/0.005263, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 13.06 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3773, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001453/0.3788, allocations: 475.5 kB / 1.075 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.3809, allocations: 1.155 MB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.381, allocations: 4 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.3812, allocations: 15.86 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.3812, allocations: 11.94 kB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.3818, allocations: 115.3 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.382, allocations: 111.8 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3822, allocations: 35.91 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.3823, allocations: 39.84 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3824, allocations: 27.84 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3824, allocations: 4 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.3825, allocations: 19.98 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3826, allocations: 4 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3827, allocations: 65.48 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.3829, allocations: 103.7 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.383, allocations: 11.94 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.195e-06/0.383, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.383, allocations: 0 / 1.076 GB, free: 5.375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005848/0.3836, allocations: 389.3 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3836, allocations: 8.031 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.3837, allocations: 8.844 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.384, allocations: 208.1 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.384, allocations: 384 / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.3841, allocations: 16.36 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3843, allocations: 68.83 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3843, allocations: 192 / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3843, allocations: 3.938 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3843, allocations: 4 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.3844, allocations: 19.92 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.385, allocations: 0.4931 MB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.3851, allocations: 22.52 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.3851, allocations: 12.84 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.3852, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.3853, allocations: 55.41 kB / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.3853, allocations: 0 / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002499/0.3856, allocations: 73.58 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3856, allocations: 51.41 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.0002044/0.3859, allocations: 147.5 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3859, allocations: 33.7 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.386, allocations: 96.12 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.386, allocations: 7.906 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.3861, allocations: 17.72 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3862, allocations: 318.8 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3864, allocations: 31.98 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3865, allocations: 50.48 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3866, allocations: 76.28 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3866, allocations: 0 / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003672/0.387, allocations: 151.3 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.3871, allocations: 38.95 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3871, allocations: 0 / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3871, allocations: 4 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.158e-05/0.3872, allocations: 4.062 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3872, allocations: 7.875 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.3875, allocations: 51.8 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.3876, allocations: 8 kB / 1.079 GB, free: 2.652 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: 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.0001201/0.3877, allocations: 109.8 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.3877, allocations: 11.91 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.3878, allocations: 16.17 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3878, allocations: 0 / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3878, allocations: 3.938 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3878, allocations: 240 / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.388, allocations: 169.7 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.388, allocations: 4 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.3881, allocations: 7.969 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3881, allocations: 4 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3881, allocations: 7.938 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3881, allocations: 0 / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3881, allocations: 3.938 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3883, allocations: 80.97 kB / 1.079 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.3883, allocations: 81.11 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3884, allocations: 11.98 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.3884, allocations: 0 / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.3884, allocations: 3.938 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3884, allocations: 0 / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001155/0.3886, allocations: 114.1 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3886, allocations: 0 / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003805/0.389, allocations: 23.91 kB / 1.079 GB, free: 1.91 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.0001809/0.3892, allocations: 103.2 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.3895, allocations: 123.3 kB / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3895, allocations: 0 / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.3895, allocations: 15.98 kB / 1.079 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3898, allocations: 8 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.3903, allocations: 171.5 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3907, allocations: 0.6926 MB / 1.08 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.44e-05/0.3907, allocations: 11.77 kB / 1.08 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.3907, allocations: 7.438 kB / 1.08 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3907, allocations: 0 / 1.08 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of Templates: time 0.004987/0.3957, allocations: 1.106 MB / 1.081 GB, free: 15.62 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1)