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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001179, allocations: 194 kB / 16.14 MB, free: 6.652 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.384/2.384, allocations: 461.8 MB / 0.7342 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 64.78 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2307, allocations: 157.4 MB / 1.052 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002247/0.233, allocations: 1.003 MB / 1.053 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2344, allocations: 1.19 MB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.2345, allocations: 0 / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.2347, allocations: 23.8 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.2347, allocations: 7.875 kB / 1.054 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.2351, allocations: 138.3 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2353, allocations: 147.6 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2354, allocations: 37.38 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.2355, allocations: 47.84 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.2356, allocations: 43.77 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.2356, allocations: 8 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.2357, allocations: 27.92 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.2357, allocations: 15.92 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.2358, allocations: 43.78 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.236, allocations: 167.7 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.236, allocations: 4 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.12e-07/0.236, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.236, allocations: 0 / 1.055 GB, free: 5.375 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.0004723/0.2365, allocations: 428.8 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2365, allocations: 11.97 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.2366, allocations: 42.72 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.2366, allocations: 12.84 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.2368, allocations: 224 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2368, allocations: 4.375 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2369, allocations: 12.38 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.237, allocations: 84.81 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.237, allocations: 3.938 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.237, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.237, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.2371, allocations: 31.92 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.2376, allocations: 0.536 MB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.2377, allocations: 26.56 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.2377, allocations: 8.922 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.2377, allocations: 4 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.2378, allocations: 75.23 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2378, allocations: 0 / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001812/0.238, allocations: 73.59 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.2381, allocations: 59.39 kB / 1.057 GB, free: 3.535 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.0001544/0.2382, allocations: 171.3 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2383, allocations: 29.7 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.2383, allocations: 108 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.2383, allocations: 3.906 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.2384, allocations: 37.7 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2385, allocations: 322.8 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.2386, allocations: 39.92 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.2387, allocations: 58.55 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.2388, allocations: 88.28 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2388, allocations: 8.047 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002585/0.2391, allocations: 163.2 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.2391, allocations: 38.8 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2392, allocations: 3.938 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2392, allocations: 3.938 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.2392, allocations: 4 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2392, allocations: 3.938 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2394, allocations: 39.86 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.2394, allocations: 4 kB / 1.058 GB, free: 2.352 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 ($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 7.884e-05/0.2395, allocations: 121.8 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.2396, allocations: 7.906 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.2396, allocations: 16.92 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2396, allocations: 0 / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2396, allocations: 3.938 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2396, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2397, allocations: 189.6 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2398, allocations: 8 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.2398, allocations: 0 / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2398, allocations: 0 / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.2398, allocations: 4.172 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2398, allocations: 4 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2398, allocations: 3.938 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.2399, allocations: 100.9 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.24, allocations: 84.92 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.24, allocations: 12 kB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.24, allocations: 0 / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.2401, allocations: 7.922 kB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2401, allocations: 4 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.2402, allocations: 124 kB / 1.058 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2402, allocations: 0 / 1.058 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002042/0.2404, allocations: 24 kB / 1.058 GB, free: 1.555 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.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.0003673/0.2407, allocations: 0.6319 MB / 1.059 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.241, allocations: 135.4 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.241, allocations: 0 / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.241, allocations: 19.92 kB / 1.059 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2412, allocations: 19.92 kB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2429, allocations: 1.69 MB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2431, allocations: 0.7002 MB / 1.061 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.2432, allocations: 8.422 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.2432, allocations: 27.42 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2432, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4348/0.678, allocations: 2.673 MB / 1.064 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.6782, allocations: 228.4 kB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.348, allocations: 1.688 kB / 1.064 GB, free: 11.41 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)