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.00136/0.00136, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001455/0.001455, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.892/2.892, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] 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.00223/0.00223, allocations: 67.88 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9382/0.9404, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 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.002751/0.9432, allocations: 0.8773 MB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.9451, allocations: 1.203 MB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.9451, allocations: 2 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.9453, allocations: 27.45 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.9454, allocations: 20.81 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.9459, allocations: 143 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.9462, allocations: 168.5 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.9463, allocations: 39.02 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.9464, allocations: 57.58 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.9465, allocations: 58.83 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.9465, allocations: 14.09 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.9466, allocations: 28.08 kB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.9466, allocations: 13.12 kB / 1.282 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.9468, allocations: 60.78 kB / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.9471, allocations: 172.1 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9471, allocations: 4.469 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.9471, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9471, allocations: 0.5 kB / 1.282 GB, free: 9.871 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.0006811/0.9478, allocations: 433.6 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.9478, allocations: 9.906 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.9478, allocations: 1.219 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.9479, allocations: 37.62 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.9479, allocations: 17.42 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.9483, allocations: 225.6 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.9483, allocations: 8.469 kB / 1.282 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.9483, allocations: 11.7 kB / 1.282 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.9485, allocations: 85.7 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.9486, allocations: 0.5 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.9486, allocations: 1.703 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.9486, allocations: 1.531 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.9487, allocations: 27.95 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.9493, allocations: 0.5406 MB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.9494, allocations: 31.77 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.9494, allocations: 13.58 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.9494, allocations: 0 / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.9496, allocations: 66.03 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9496, allocations: 0 / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.9498, allocations: 85.12 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.9499, allocations: 57.61 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.9501, allocations: 176.7 kB / 1.283 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.9501, allocations: 28.23 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.9502, allocations: 101.4 kB / 1.284 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.9502, allocations: 9.875 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.9503, allocations: 39.05 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.9504, allocations: 321.2 kB / 1.284 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.9505, allocations: 39.59 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.9506, allocations: 58.64 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.9508, allocations: 92.12 kB / 1.284 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9508, allocations: 4.781 kB / 1.284 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003356/0.9511, allocations: 172.9 kB / 1.284 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.9512, allocations: 41.45 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9512, allocations: 1.219 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9512, allocations: 2.031 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.9512, allocations: 2.656 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9513, allocations: 6.188 kB / 1.284 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.9515, allocations: 27.69 kB / 1.284 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.9515, allocations: 7.594 kB / 1.284 GB, free: 7.441 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 0.0001079/0.9516, allocations: 122.2 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.9516, allocations: 12.98 kB / 1.285 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.9517, allocations: 12.84 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9517, allocations: 1.781 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9517, allocations: 3.938 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9517, allocations: 1.188 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.9519, allocations: 193.3 kB / 1.285 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9519, allocations: 4.609 kB / 1.285 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.952, allocations: 2.656 kB / 1.285 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.952, allocations: 0.7969 kB / 1.285 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.952, allocations: 1.5 kB / 1.285 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.952, allocations: 0.5156 kB / 1.285 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.952, allocations: 7.875 kB / 1.285 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.9521, allocations: 91.47 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.9522, allocations: 84.72 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.9522, allocations: 6.047 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.9522, allocations: 0.8438 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.9523, allocations: 15.34 kB / 1.285 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.9523, allocations: 2.016 kB / 1.285 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001098/0.9524, allocations: 122 kB / 1.285 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9524, allocations: 0 / 1.285 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002249/0.9526, allocations: 28.36 kB / 1.285 GB, free: 6.789 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.0005199/0.9531, allocations: 0.638 MB / 1.286 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.9534, allocations: 122.4 kB / 1.286 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9534, allocations: 1.312 kB / 1.286 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.9534, allocations: 13.69 kB / 1.286 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.9537, allocations: 20.52 kB / 1.286 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.9557, allocations: 1.668 MB / 1.287 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.956, allocations: 0.6966 MB / 1.288 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.956, allocations: 7.797 kB / 1.288 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.9561, allocations: 35.77 kB / 1.288 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9561, allocations: 0 / 1.288 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.9791, allocations: 2.885 MB / 1.291 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.641, allocations: 7.25 kB / 1.291 GB, free: 3.496 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.923846028046682] Failed to read output from testmodel.py, exit status != 0: 9.768811491027009 9.790342026 8.839084813 Calling exit ...