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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, 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.001066/0.001066, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.153/1.153, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.335/2.335, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.84 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2262, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001783/0.228, allocations: 0.8051 MB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2293, allocations: 1.162 MB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.2294, allocations: 7.938 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2295, allocations: 15.86 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.408e-05/0.2296, allocations: 11.94 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.2299, allocations: 118.7 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2301, allocations: 111.8 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.2302, allocations: 31.98 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.2302, allocations: 43.84 kB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.2303, allocations: 27.84 kB / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2303, allocations: 4 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.2304, allocations: 23.92 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.2304, allocations: 15.97 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.2305, allocations: 35.8 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2306, allocations: 104 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2306, allocations: 0 / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2306, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2307, allocations: 0 / 1.055 GB, free: 5.664 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.0003961/0.2311, allocations: 405 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2311, allocations: 11.97 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.2311, allocations: 38.75 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.2312, allocations: 8.844 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2314, allocations: 212.1 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2314, allocations: 8.312 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2314, allocations: 8.375 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.2315, allocations: 80.69 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2315, allocations: 3.938 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.2316, allocations: 0 / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2316, allocations: 4 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.449e-05/0.2316, allocations: 19.92 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.232, allocations: 497 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/0.232, allocations: 26.52 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.232, allocations: 4.859 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.2321, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.2322, allocations: 59.45 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2322, allocations: 4 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000153/0.2323, allocations: 69.53 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2324, allocations: 51.41 kB / 1.056 GB, free: 3.965 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.00012/0.2325, allocations: 152.6 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2325, allocations: 29.7 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.2326, allocations: 100 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-06/0.2326, allocations: 4 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.2327, allocations: 29.7 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.2327, allocations: 322.8 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.2328, allocations: 31.98 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.2329, allocations: 42.56 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/0.233, allocations: 84.2 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.233, allocations: 0 / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002181/0.2332, allocations: 147.2 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.2333, allocations: 41.69 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2333, allocations: 0 / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2333, allocations: 4 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.338e-05/0.2333, allocations: 0 / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2333, allocations: 3.938 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2335, allocations: 27.88 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2335, allocations: 11.98 kB / 1.057 GB, free: 2.879 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 7.369e-05/0.2336, allocations: 123.9 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.2336, allocations: 7.906 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.2337, allocations: 16.42 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2337, allocations: 0 / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2337, allocations: 11.86 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2337, allocations: 0 / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2338, allocations: 177.6 kB / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2338, allocations: 8 kB / 1.057 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-06/0.2338, allocations: 0 / 1.057 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2338, allocations: 4 kB / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2338, allocations: 0 / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2338, allocations: 0 / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2338, allocations: 7.938 kB / 1.057 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.636e-05/0.2339, allocations: 81.02 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.234, allocations: 85.02 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.234, allocations: 4 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.234, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.234, allocations: 15.92 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.234, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.2341, allocations: 112.9 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2341, allocations: 0 / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002036/0.2343, allocations: 16 kB / 1.058 GB, free: 2.125 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.0003185/0.2346, allocations: 0.6241 MB / 1.058 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.2348, allocations: 123.2 kB / 1.058 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2348, allocations: 0 / 1.058 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.2349, allocations: 15.98 kB / 1.058 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.2351, allocations: 12 kB / 1.058 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.2364, allocations: 1.504 MB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2365, allocations: 0.6887 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.2366, allocations: 4 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.2366, allocations: 27.42 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2366, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3728/0.6094, allocations: 2.223 MB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.6097, allocations: 237.6 kB / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.242, allocations: 0 / 1.063 GB, free: 12.64 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1)