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.001696/0.001696, allocations: 108 kB / 15.6 MB, free: 132 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.002113/0.002113, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.108/3.108, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 76.02 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3197, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002386/0.3221, allocations: 0.752 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3236, allocations: 1.147 MB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.3237, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3239, allocations: 23.8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.594e-05/0.3239, allocations: 3.938 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.3244, allocations: 127.3 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3246, allocations: 143.7 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3247, allocations: 31.97 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.3248, allocations: 43.91 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.3249, allocations: 39.77 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.3249, allocations: 12 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.325, allocations: 23.98 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.325, allocations: 4 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.3251, allocations: 43.78 kB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3253, allocations: 123.6 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3253, allocations: 0 / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3253, allocations: 0 / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3253, allocations: 0 / 1.071 GB, free: 7.949 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.0004838/0.3258, allocations: 402.8 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3259, allocations: 8.031 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.3259, allocations: 12.84 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3262, allocations: 208.1 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.3262, allocations: 4.375 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3262, allocations: 4.375 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3264, allocations: 76.77 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3264, allocations: 192 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3264, allocations: 11.92 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3264, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.3265, allocations: 12 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.327, allocations: 497 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.857e-05/0.327, allocations: 18.58 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.3271, allocations: 20.78 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.3272, allocations: 55.41 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.3272, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001897/0.3274, allocations: 69.58 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3275, allocations: 59.34 kB / 1.072 GB, free: 6.312 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.000141/0.3276, allocations: 157.2 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3276, allocations: 29.69 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.3277, allocations: 100.1 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.3277, allocations: 7.906 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.3278, allocations: 29.7 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.3279, allocations: 322.8 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.328, allocations: 27.98 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.328, allocations: 50.55 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/0.3281, allocations: 80.44 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3282, allocations: 4 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002309/0.3284, allocations: 155.2 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.3284, allocations: 33.7 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3284, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3285, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.425e-05/0.3285, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3285, allocations: 7.938 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3287, allocations: 35.89 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3287, allocations: 7.984 kB / 1.073 GB, free: 5.211 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 8.618e-05/0.3288, allocations: 117.9 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3289, allocations: 7.906 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.3289, allocations: 12.23 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3289, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3289, allocations: 3.938 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3289, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.329, allocations: 173.7 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.329, allocations: 64 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-06/0.3291, allocations: 7.984 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3291, allocations: 8 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3291, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3291, allocations: 7.875 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3291, allocations: 3.938 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3292, allocations: 85.03 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.3292, allocations: 81.02 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3293, allocations: 7.984 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.3293, allocations: 0 / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.3293, allocations: 7.938 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3293, allocations: 0 / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.3294, allocations: 115.2 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3294, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.3296, allocations: 19.94 kB / 1.074 GB, free: 4.461 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.0001435/0.3298, allocations: 103.8 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.33, allocations: 123.3 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.33, allocations: 4.188 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.33, allocations: 11.98 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.3303, allocations: 9.406 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.3306, allocations: 158.6 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3309, allocations: 0.6924 MB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.3309, allocations: 7.781 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3309, allocations: 15.42 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3309, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.003919/0.3348, allocations: 1.156 MB / 1.076 GB, free: 2.129 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)