Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",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.001364/0.001364, 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.001607/0.001607, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.326/2.326, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 61.81 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.211, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001977/0.213, allocations: 0.918 MB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2144, allocations: 1.186 MB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.2145, allocations: 4 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2147, allocations: 15.86 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.2147, allocations: 19.84 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.2151, allocations: 126.6 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.2153, allocations: 147.6 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2154, allocations: 45.38 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.2155, allocations: 47.78 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.2156, allocations: 43.77 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.2156, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.2157, allocations: 23.98 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.2157, allocations: 15.92 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.2158, allocations: 51.72 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.216, allocations: 159.7 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.216, allocations: 7.984 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.61e-07/0.216, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.216, allocations: 0 / 1.055 GB, free: 5.418 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.0005049/0.2165, allocations: 432.8 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2165, allocations: 11.97 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2166, allocations: 38.75 kB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.2166, allocations: 16.83 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2169, allocations: 214.5 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2169, allocations: 8.375 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.2169, allocations: 12.38 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.2171, allocations: 80.75 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2171, allocations: 7.875 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2171, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2171, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.2172, allocations: 31.92 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2177, allocations: 0.5283 MB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.2177, allocations: 34.45 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.2178, allocations: 16.91 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.2178, allocations: 0 / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.2179, allocations: 71.28 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2179, allocations: 0 / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001813/0.2181, allocations: 81.53 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2181, allocations: 51.41 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2183, allocations: 183.2 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2183, allocations: 29.7 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.2184, allocations: 104 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.2184, allocations: 11.91 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.2185, allocations: 33.7 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2186, allocations: 322.8 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.2187, allocations: 35.98 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.2188, allocations: 54.56 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.2189, allocations: 96.2 kB / 1.057 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2189, allocations: 0 / 1.057 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002492/0.2192, allocations: 167.3 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.2192, allocations: 41.69 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2192, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.2192, allocations: 4 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.2193, allocations: 0 / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2193, allocations: 7.938 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2195, allocations: 35.92 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2195, allocations: 7.938 kB / 1.058 GB, free: 2.391 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.745e-05/0.2196, allocations: 121.8 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.2196, allocations: 7.906 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.2196, allocations: 16.92 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2196, allocations: 0 / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2197, allocations: 3.938 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2197, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2198, allocations: 193.6 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2198, allocations: 4 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.2198, allocations: 4 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2198, allocations: 0 / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.2198, allocations: 0 / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2198, allocations: 0 / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2198, allocations: 3.938 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.22, allocations: 101 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.22, allocations: 84.92 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.22, allocations: 0 / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.2201, allocations: 8 kB / 1.058 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.2201, allocations: 11.86 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.2201, allocations: 4 kB / 1.058 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.2202, allocations: 124 kB / 1.058 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2202, allocations: 0 / 1.058 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002004/0.2204, allocations: 27.94 kB / 1.058 GB, free: 1.594 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0004043/0.2209, allocations: 0.6319 MB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.2211, allocations: 135.6 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2211, allocations: 0 / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.2211, allocations: 12 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2213, allocations: 27.86 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2229, allocations: 1.655 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2231, allocations: 0.7002 MB / 1.061 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.2232, allocations: 8.422 kB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.2232, allocations: 27.42 kB / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2232, allocations: 0 / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5556/0.7789, allocations: 2.628 MB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.7791, allocations: 240.5 kB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.521, allocations: 0 / 1.064 GB, free: 11.51 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1)