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.001234/0.001234, allocations: 100.1 kB / 15.88 MB, free: 12 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.001268/0.001268, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 71.5 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002101/0.294, allocations: 0.7972 MB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2955, allocations: 1.174 MB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.2956, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.2958, allocations: 19.86 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.804e-05/0.2958, allocations: 3.938 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.2962, allocations: 122.3 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2964, allocations: 115.7 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.2965, allocations: 27.98 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.2966, allocations: 43.84 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.2966, allocations: 35.83 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2967, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.2967, allocations: 23.98 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.2968, allocations: 7.938 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.2968, allocations: 43.78 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.297, allocations: 75.84 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.297, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.297, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.297, allocations: 0 / 1.055 GB, free: 5.781 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.0004994/0.2975, allocations: 413.2 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2975, allocations: 11.97 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.2976, allocations: 12.84 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.2978, allocations: 206 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2978, allocations: 4.375 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.2979, allocations: 4.375 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.298, allocations: 72.8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.298, allocations: 4.188 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.298, allocations: 7.938 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.298, allocations: 3.938 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.2981, allocations: 15.98 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.2985, allocations: 0.4892 MB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.2986, allocations: 18.58 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.2986, allocations: 12.92 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.2986, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.2988, allocations: 59.33 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.835e-06/0.2988, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001779/0.299, allocations: 69.53 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.299, allocations: 55.41 kB / 1.057 GB, free: 4.129 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.00014/0.2992, allocations: 155.9 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2992, allocations: 25.7 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.2993, allocations: 112 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.2993, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.2993, allocations: 29.7 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2994, allocations: 318.8 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.2995, allocations: 31.92 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.2996, allocations: 46.56 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/0.2997, allocations: 80.27 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2997, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002475/0.3, allocations: 151.2 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.3, allocations: 29.7 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3, allocations: 7.984 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3001, allocations: 8.109 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-05/0.3001, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3001, allocations: 7.938 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.3003, allocations: 35.97 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3003, allocations: 4 kB / 1.058 GB, free: 3.031 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 (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.282e-05/0.3004, allocations: 117.8 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.3005, allocations: 11.89 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.3005, allocations: 8.25 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3005, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3005, allocations: 3.938 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3005, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3006, allocations: 181.6 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3006, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-06/0.3007, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3007, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3007, allocations: 4 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3007, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3007, allocations: 3.938 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.3008, allocations: 88.95 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3009, allocations: 85.02 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3009, allocations: 3.938 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.3009, allocations: 4 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.3009, allocations: 3.938 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3009, allocations: 4.062 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.044e-05/0.301, allocations: 117.3 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.301, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002251/0.3012, allocations: 16 kB / 1.058 GB, free: 2.289 MB / 0.8106 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.0001385/0.3014, allocations: 107.2 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3016, allocations: 123.3 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3016, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.3016, allocations: 8 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3019, allocations: 11.98 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.3022, allocations: 194.4 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3024, allocations: 0.6926 MB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3025, allocations: 11.44 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of SimCode: time 1.643e-06/0.3025, allocations: 0 / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of Templates: time 0.002603/0.3051, allocations: 1.141 MB / 1.06 GB, free: 15.93 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)