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.0008591/0.0008592, allocations: 98.03 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.005289/0.005289, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 8.906 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2528, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.0009785/0.2539, allocations: 0.5752 MB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2553, allocations: 1.174 MB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.2554, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2555, allocations: 19.86 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.2556, allocations: 11.86 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.256, allocations: 142.6 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.2561, allocations: 143.6 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2562, allocations: 37.39 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.2563, allocations: 43.84 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.2564, allocations: 39.77 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.2564, allocations: 4 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.2565, allocations: 23.98 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2565, allocations: 15.88 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.2566, allocations: 73.41 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2568, allocations: 155.7 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2568, allocations: 4 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2568, allocations: 0 / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2568, allocations: 0 / 1.061 GB, free: 2.391 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.0004186/0.2572, allocations: 412.9 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2573, allocations: 11.97 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.2573, allocations: 30.75 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.2574, allocations: 16.83 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2576, allocations: 216.1 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2576, allocations: 4.375 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.2576, allocations: 12.31 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.2578, allocations: 88.81 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2578, allocations: 7.875 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-06/0.2578, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2578, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.2579, allocations: 31.92 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.2583, allocations: 0.5321 MB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.145e-05/0.2584, allocations: 22.58 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.2584, allocations: 16.91 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.2584, allocations: 4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.2586, allocations: 71.38 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2586, allocations: 7.875 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.2588, allocations: 73.59 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2588, allocations: 55.41 kB / 1.063 GB, free: 0.5781 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.0001618/0.259, allocations: 183.8 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.259, allocations: 29.7 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2591, allocations: 104.1 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.2591, allocations: 3.906 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.2591, allocations: 25.72 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.2592, allocations: 318.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.2593, allocations: 39.98 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.2594, allocations: 54.55 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2595, allocations: 92.2 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2595, allocations: 4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002513/0.2598, allocations: 167.2 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.2598, allocations: 35.11 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2598, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.2598, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.2599, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2599, allocations: 11.92 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.2601, allocations: 51.94 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2601, allocations: 7.938 kB / 1.064 GB, free: 15.39 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: 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 8.949e-05/0.2602, allocations: 117.8 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.2603, allocations: 7.906 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.2603, allocations: 17.16 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2603, allocations: 3.984 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2603, allocations: 7.938 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2603, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.2605, allocations: 189.6 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2605, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.2605, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2605, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2605, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2605, allocations: 0 / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2605, allocations: 3.938 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.2606, allocations: 101 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.2607, allocations: 88.92 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2607, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.2607, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.2607, allocations: 15.86 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2608, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.658e-05/0.2608, allocations: 128 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2609, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002041/0.2611, allocations: 23.94 kB / 1.064 GB, free: 14.6 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: 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.0003437/0.2614, allocations: 0.6358 MB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.2616, allocations: 131.3 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2616, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.2617, allocations: 19.98 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2619, allocations: 24.05 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2634, allocations: 1.66 MB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2636, allocations: 0.6963 MB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.2636, allocations: 12.42 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.2637, allocations: 23.44 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2637, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.983/3.246, allocations: 2.576 MB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/3.246, allocations: 233 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/5.449, allocations: 0 / 1.07 GB, free: 8.613 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)