Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002524/0.002524, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.92/2.92, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002074/1.043, allocations: 0.8685 MB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00135/1.045, allocations: 1.177 MB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/1.045, allocations: 2.438 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/1.045, allocations: 27.34 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/1.045, allocations: 21.45 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/1.045, allocations: 141.4 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000208/1.046, allocations: 174.3 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/1.046, allocations: 33.33 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/1.046, allocations: 53.75 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/1.046, allocations: 58.05 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/1.046, allocations: 14 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/1.046, allocations: 32.09 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/1.046, allocations: 13.47 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/1.046, allocations: 61.08 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/1.046, allocations: 175.2 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.046, allocations: 0 / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/1.046, allocations: 0.6875 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.046, allocations: 0 / 1.274 GB, free: 5.895 MB / 0.9981 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.0004754/1.047, allocations: 434 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.047, allocations: 9.75 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/1.047, allocations: 39.2 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/1.047, allocations: 11.95 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/1.047, allocations: 230.7 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.047, allocations: 7.938 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/1.047, allocations: 11.91 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/1.047, allocations: 81.55 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.047, allocations: 3.938 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/1.047, allocations: 6.766 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.047, allocations: 1.312 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/1.047, allocations: 28.58 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/1.048, allocations: 0.5325 MB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/1.048, allocations: 29.88 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/1.048, allocations: 13.05 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/1.048, allocations: 4.875 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.963e-05/1.048, allocations: 73.03 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.048, allocations: 0 / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/1.048, allocations: 86.05 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/1.048, allocations: 53.17 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/1.048, allocations: 180.5 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.048, allocations: 28.02 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/1.048, allocations: 109.7 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/1.048, allocations: 7.25 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/1.049, allocations: 34.48 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/1.049, allocations: 320.9 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/1.049, allocations: 35.66 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/1.049, allocations: 56.69 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/1.049, allocations: 98.75 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.049, allocations: 0.9062 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000259/1.049, allocations: 168.6 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.049, allocations: 35.19 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.049, allocations: 2.656 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.049, allocations: 0.9062 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/1.049, allocations: 2.906 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.049, allocations: 4.719 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/1.049, allocations: 38.78 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/1.049, allocations: 5.188 kB / 1.277 GB, free: 3.461 MB / 0.9981 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 6.614e-05/1.05, allocations: 116.9 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/1.05, allocations: 10.23 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/1.05, allocations: 13.36 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.05, allocations: 0.7812 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.05, allocations: 4.969 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.05, allocations: 4.969 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/1.05, allocations: 192.7 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.05, allocations: 4.969 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/1.05, allocations: 6.188 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.05, allocations: 0.6094 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/1.05, allocations: 1.875 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.05, allocations: 4.062 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.05, allocations: 5.062 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/1.05, allocations: 98.77 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/1.05, allocations: 86.23 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.05, allocations: 1.281 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/1.05, allocations: 0 / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/1.05, allocations: 8.391 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.05, allocations: 1.125 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.078e-05/1.05, allocations: 126.4 kB / 1.278 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.05, allocations: 0.8438 kB / 1.278 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000225/1.05, allocations: 18.88 kB / 1.278 GB, free: 2.816 MB / 0.9981 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.0002964/1.05, allocations: 0.6419 MB / 1.278 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001987/1.051, allocations: 123.2 kB / 1.278 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/1.051, allocations: 0.625 kB / 1.278 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/1.051, allocations: 14.8 kB / 1.278 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/1.051, allocations: 27.39 kB / 1.278 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.053, allocations: 1.66 MB / 1.28 GB, free: 16.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.053, allocations: 0.702 MB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.026e-05/1.053, allocations: 6.828 kB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/1.053, allocations: 33.14 kB / 1.281 GB, free: 15.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.053, allocations: 0 / 1.281 GB, free: 15.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/1.079, allocations: 2.799 MB / 1.283 GB, free: 15.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/9.183, allocations: 13.31 kB / 1.283 GB, free: 15.52 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.30475605398533] Failed to read output from testmodel.py, exit status != 0: 9.253181924985256 9.275480882 8.224910994 Calling exit ...