Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008367/0.0008367, allocations: 91.3 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.005486/0.005487, allocations: 170 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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003909, allocations: 19.62 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3716, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001118/0.3728, allocations: 475.5 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3745, allocations: 1.155 MB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.3746, allocations: 0 / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.3748, allocations: 19.86 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.3748, allocations: 7.922 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.3753, allocations: 115.2 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3755, allocations: 115.7 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3757, allocations: 31.97 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.3758, allocations: 43.84 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.3759, allocations: 27.84 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3759, allocations: 4 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.376, allocations: 15.98 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.376, allocations: 4 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.3761, allocations: 69.48 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.3763, allocations: 103.7 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3763, allocations: 7.922 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3763, allocations: 4 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3764, allocations: 0 / 1.076 GB, free: 5.355 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.0004816/0.3768, allocations: 389.3 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3769, allocations: 8.031 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.377, allocations: 12.84 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3772, allocations: 196.2 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.3772, allocations: 16.36 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.3773, allocations: 4.375 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3774, allocations: 68.83 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3775, allocations: 4.125 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3775, allocations: 3.938 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3775, allocations: 0 / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.3775, allocations: 15.98 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.3781, allocations: 0.4931 MB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.3782, allocations: 26.52 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.3782, allocations: 12.86 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.3782, allocations: 3.938 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3784, allocations: 59.39 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.3784, allocations: 4 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001996/0.3786, allocations: 65.58 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3786, allocations: 55.41 kB / 1.078 GB, free: 3.727 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.0001491/0.3788, allocations: 149.3 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3788, allocations: 29.64 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.3789, allocations: 100.1 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.3789, allocations: 3.906 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.3789, allocations: 21.72 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3791, allocations: 322.8 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.3792, allocations: 23.98 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.3792, allocations: 58.55 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3794, allocations: 76.22 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3794, allocations: 4 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002647/0.3796, allocations: 151.2 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.3797, allocations: 33.7 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3797, allocations: 3.984 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3797, allocations: 0 / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.819e-05/0.3797, allocations: 0 / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3798, allocations: 7.938 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.38, allocations: 51.89 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.3801, allocations: 4 kB / 1.079 GB, free: 2.633 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 9.646e-05/0.3802, allocations: 117.8 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.3802, allocations: 7.906 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.3802, allocations: 8.234 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3802, allocations: 4.234 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3802, allocations: 7.938 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3802, allocations: 3.984 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3804, allocations: 173.7 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3804, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-06/0.3804, allocations: 3.984 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3804, allocations: 0 / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3804, allocations: 3.938 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3804, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3804, allocations: 7.875 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3805, allocations: 85.03 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3806, allocations: 81.11 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3806, allocations: 3.984 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.3806, allocations: 0 / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3807, allocations: 7.938 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3807, allocations: 3.938 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.839e-05/0.3808, allocations: 114.1 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3808, allocations: 4 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002167/0.381, allocations: 19.91 kB / 1.079 GB, free: 1.887 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.0001504/0.3812, allocations: 107.2 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.3814, allocations: 119.3 kB / 1.079 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3814, allocations: 0 / 1.079 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-05/0.3814, allocations: 11.98 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3817, allocations: 12 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.382, allocations: 175.5 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3823, allocations: 0.6887 MB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.3823, allocations: 11.77 kB / 1.08 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.3823, allocations: 11.44 kB / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3823, allocations: 0 / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of Templates: time 0.004188/0.3865, allocations: 1.094 MB / 1.081 GB, free: 15.61 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1)