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.00152/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001904/0.001904, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.7 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3481, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002422/0.3506, allocations: 0.7955 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3521, allocations: 1.162 MB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.3522, allocations: 7.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.3524, allocations: 15.86 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.3524, allocations: 7.922 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.3529, allocations: 119.3 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3531, allocations: 111.8 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3532, allocations: 23.98 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.3533, allocations: 47.83 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.3534, allocations: 31.84 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3534, allocations: 11.94 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.3535, allocations: 19.98 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.3535, allocations: 7.922 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.3536, allocations: 39.84 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3538, allocations: 107.7 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3538, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3538, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3538, allocations: 0 / 1.07 GB, free: 8.414 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.0005178/0.3543, allocations: 409.3 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3544, allocations: 11.97 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3544, allocations: 16.78 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3547, allocations: 201.6 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3547, allocations: 8.375 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3547, allocations: 8.375 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3548, allocations: 76.73 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3549, allocations: 192 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3549, allocations: 7.938 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3549, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.3549, allocations: 15.94 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.3554, allocations: 497 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/0.3555, allocations: 26.52 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.3555, allocations: 8.844 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-06/0.3555, allocations: 4.062 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.3556, allocations: 63.38 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.3556, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001956/0.3558, allocations: 69.53 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3559, allocations: 51.41 kB / 1.071 GB, free: 6.762 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.0001673/0.3561, allocations: 159.7 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3561, allocations: 25.7 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3562, allocations: 92.14 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.3562, allocations: 11.89 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.3563, allocations: 33.7 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3564, allocations: 314.8 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.3565, allocations: 35.97 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.3566, allocations: 42.56 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3567, allocations: 84.2 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3567, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002652/0.357, allocations: 147.2 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.357, allocations: 33.7 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.357, allocations: 4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.357, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.263e-05/0.3571, allocations: 8.047 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3571, allocations: 3.938 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.3573, allocations: 31.91 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.3573, allocations: 12.03 kB / 1.072 GB, free: 5.664 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.0001166/0.3575, allocations: 113.8 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.3575, allocations: 15.83 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.3575, allocations: 12.25 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3575, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3576, allocations: 3.938 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3576, allocations: 3.938 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3577, allocations: 173.6 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3578, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-06/0.3578, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3578, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3578, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3578, allocations: 4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3578, allocations: 3.938 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.3579, allocations: 81.03 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.358, allocations: 85.28 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.358, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.695e-05/0.358, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.3581, allocations: 7.938 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3581, allocations: 3.984 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.3582, allocations: 117.8 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3582, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002249/0.3584, allocations: 20 kB / 1.073 GB, free: 4.918 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.0001616/0.3586, allocations: 103.2 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3588, allocations: 119.5 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3588, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.3589, allocations: 15.94 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3591, allocations: 8 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.3595, allocations: 168.5 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3598, allocations: 0.6887 MB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3598, allocations: 11.77 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.3598, allocations: 11.44 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3598, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.003848/0.3637, allocations: 1.101 MB / 1.075 GB, free: 2.641 MB / 0.8262 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)