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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 98.33 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 214.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7715 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 67.86 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3428, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002356/0.3451, allocations: 0.8674 MB / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3468, allocations: 1.215 MB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.3469, allocations: 4 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.347, allocations: 19.8 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.3471, allocations: 27.78 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.3476, allocations: 143.1 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.3479, allocations: 171.6 kB / 1.287 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.348, allocations: 33.36 kB / 1.287 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.348, allocations: 55.84 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3482, allocations: 51.77 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.3482, allocations: 16 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3483, allocations: 35.91 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.3483, allocations: 15.94 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.3484, allocations: 51.78 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3487, allocations: 171 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3487, allocations: 0 / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3487, allocations: 7.938 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3487, allocations: 0 / 1.287 GB, free: 8.891 MB / 0.9825 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.0005631/0.3492, allocations: 368.1 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3493, allocations: 8.031 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.3493, allocations: 4.188 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.3493, allocations: 38.69 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.3494, allocations: 16.84 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3497, allocations: 166.3 kB / 1.288 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3497, allocations: 8.359 kB / 1.288 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3497, allocations: 12.38 kB / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3498, allocations: 80.56 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3499, allocations: 3.938 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3499, allocations: 0 / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3499, allocations: 4 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.714e-05/0.3499, allocations: 23.98 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.3505, allocations: 0.5079 MB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.3506, allocations: 26.56 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.3506, allocations: 16.86 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.3506, allocations: 0 / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.3507, allocations: 67.39 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3507, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000209/0.351, allocations: 73.64 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.351, allocations: 67.27 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3512, allocations: 179.2 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3512, allocations: 25.7 kB / 1.289 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.3513, allocations: 104.1 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3513, allocations: 11.95 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.3514, allocations: 29.7 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3515, allocations: 322.8 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.3516, allocations: 35.98 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3517, allocations: 58.53 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3519, allocations: 96.28 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3519, allocations: 4 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003362/0.3522, allocations: 175.2 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.3522, allocations: 37.7 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3523, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3523, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.3523, allocations: 4 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3523, allocations: 3.938 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3525, allocations: 35.95 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3525, allocations: 8 kB / 1.289 GB, free: 6.051 MB / 0.9825 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 0.000119/0.3527, allocations: 117.8 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.3527, allocations: 15.91 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.3527, allocations: 13.02 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3527, allocations: 4 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3527, allocations: 3.938 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3527, allocations: 0 / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3529, allocations: 164.7 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3529, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.3529, allocations: 7.938 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3529, allocations: 0 / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3529, allocations: 0 / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3529, allocations: 0 / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3529, allocations: 7.875 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.3531, allocations: 93.06 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3531, allocations: 11.91 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3531, allocations: 4 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.3531, allocations: 4 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.3532, allocations: 11.92 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.3532, allocations: 4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000104/0.3533, allocations: 124 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3533, allocations: 0 / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002245/0.3535, allocations: 24 kB / 1.29 GB, free: 5.379 MB / 0.9825 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.0004963/0.354, allocations: 0.64 MB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3542, allocations: 127.3 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3542, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.3543, allocations: 15.98 kB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3545, allocations: 20.06 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3566, allocations: 1.654 MB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.357, allocations: 0.6924 MB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.357, allocations: 16.42 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.3571, allocations: 31.42 kB / 1.293 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3571, allocations: 0 / 1.293 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.3815, allocations: 2.968 MB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 4.062 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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: 18.545616490999237] Failed to read output from testmodel.py, exit status != 0: 12.5252189799794 12.027000143 11.672823919 Calling exit ...