Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.0008907/0.0008907, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006452/0.006453, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 11.72 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2465, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.0009976/0.2475, allocations: 0.6544 MB / 1.059 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2488, allocations: 1.174 MB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.2489, allocations: 4 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.249, allocations: 19.8 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.2491, allocations: 11.94 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.2494, allocations: 134.2 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.2496, allocations: 151.6 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2497, allocations: 37.39 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.2498, allocations: 43.8 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.2499, allocations: 43.75 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2499, allocations: 4 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.25, allocations: 19.98 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.25, allocations: 11.94 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.2501, allocations: 73.42 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2502, allocations: 163.7 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2502, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2502, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.2503, allocations: 0 / 1.061 GB, free: 2.352 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004228/0.2507, allocations: 408.8 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2507, allocations: 11.97 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.2508, allocations: 42.73 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.2508, allocations: 12.84 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.251, allocations: 222.2 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2511, allocations: 8.375 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2511, allocations: 12.31 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2512, allocations: 84.8 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2512, allocations: 3.938 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2512, allocations: 4 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2513, allocations: 4 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.2513, allocations: 27.92 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.2518, allocations: 0.5359 MB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.2519, allocations: 34.56 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.2519, allocations: 8.922 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.2519, allocations: 4 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.252, allocations: 67.33 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2521, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.2522, allocations: 77.59 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.2523, allocations: 51.41 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2524, allocations: 176 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2525, allocations: 33.7 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.2525, allocations: 108 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2525, allocations: 7.906 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.2526, allocations: 21.66 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2527, allocations: 318.8 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.2528, allocations: 39.98 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.2529, allocations: 58.53 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.253, allocations: 92.27 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.253, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00026/0.2533, allocations: 167.2 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.2533, allocations: 37.64 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2533, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.2533, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.2534, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2534, allocations: 11.86 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2536, allocations: 51.88 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.2536, allocations: 4 kB / 1.064 GB, free: 15.35 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.588e-05/0.2537, allocations: 117.8 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.2537, allocations: 11.84 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2538, allocations: 16.92 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2538, allocations: 4 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2538, allocations: 3.938 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2538, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2539, allocations: 189.6 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2539, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.254, allocations: 4 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.254, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.254, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.254, allocations: 4.062 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.254, allocations: 7.875 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.2541, allocations: 101.2 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.2541, allocations: 85.02 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2542, allocations: 48 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.2542, allocations: 3.984 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.2542, allocations: 11.92 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2542, allocations: 0 / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.2543, allocations: 128 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2543, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002024/0.2545, allocations: 24 kB / 1.065 GB, free: 14.55 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.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003604/0.2549, allocations: 0.6319 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.2551, allocations: 131.4 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2551, allocations: 0 / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.2552, allocations: 28.05 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.2554, allocations: 24.05 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.257, allocations: 1.696 MB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2573, allocations: 0.6963 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2573, allocations: 4.438 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.2574, allocations: 35.42 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2574, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.537/3.795, allocations: 2.598 MB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/3.795, allocations: 230.1 kB / 1.071 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/5.591, allocations: 0 / 1.071 GB, free: 8.504 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1)