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.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.001578/0.001578, allocations: 117.4 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.001372/0.001372, allocations: 214.3 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.418/1.418, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.891/2.891, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_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.001912/0.001912, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9078, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002205/0.91, allocations: 0.8613 MB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.9114, allocations: 1.215 MB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.9115, allocations: 6.938 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.9116, allocations: 22.28 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.9117, allocations: 16.97 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.9121, allocations: 139.7 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.9124, allocations: 172.2 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.9125, allocations: 31.09 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.9126, allocations: 57.19 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.9127, allocations: 61.75 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.9127, allocations: 18.66 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.9128, allocations: 32.91 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.9128, allocations: 12.72 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.9129, allocations: 53.2 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.9132, allocations: 179.3 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.9132, allocations: 1.969 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9132, allocations: 0 / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.9132, allocations: 0 / 1.343 GB, free: 14.41 MB / 1.061 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.0005117/0.9137, allocations: 433.1 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.9137, allocations: 9.438 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.9138, allocations: 9.969 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.145e-05/0.9138, allocations: 38.52 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.9138, allocations: 12.73 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.914, allocations: 223.7 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.9141, allocations: 4.469 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.9141, allocations: 10.81 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.9142, allocations: 95.5 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.9142, allocations: 0 / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.9142, allocations: 1.625 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.9143, allocations: 1.188 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.9143, allocations: 27.52 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.9148, allocations: 0.5413 MB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.9148, allocations: 27.86 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.9149, allocations: 8.281 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.9149, allocations: 5 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.653e-05/0.915, allocations: 60.39 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.915, allocations: 0 / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002078/0.9152, allocations: 89.14 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.9152, allocations: 57.86 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.9154, allocations: 173.5 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.9154, allocations: 27.05 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.9154, allocations: 110 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.9154, allocations: 18.5 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.9155, allocations: 30.28 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.9156, allocations: 321.6 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.9157, allocations: 42.28 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.9157, allocations: 53.02 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.9158, allocations: 90.69 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9158, allocations: 1.375 kB / 1.345 GB, free: 12.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002603/0.9161, allocations: 174.3 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.9161, allocations: 38.56 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9161, allocations: 1.375 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.9162, allocations: 1.375 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.9162, allocations: 5.984 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9162, allocations: 6.016 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.9164, allocations: 28.47 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.9164, allocations: 10.56 kB / 1.346 GB, free: 11.98 MB / 1.061 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.463e-05/0.9165, allocations: 122 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.9165, allocations: 9.453 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.9166, allocations: 13.98 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9166, allocations: 0 / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9166, allocations: 5.312 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.9166, allocations: 0.6562 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.9167, allocations: 193.5 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.9167, allocations: 0 / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.9167, allocations: 3.406 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9167, allocations: 0 / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.9167, allocations: 2.172 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9167, allocations: 4 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9167, allocations: 3.938 kB / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.9169, allocations: 95.88 kB / 1.346 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.9169, allocations: 92.97 kB / 1.346 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.9169, allocations: 2.078 kB / 1.346 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.9169, allocations: 4.547 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.9169, allocations: 6.484 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.917, allocations: 7.312 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.501e-05/0.917, allocations: 124.9 kB / 1.346 GB, free: 11.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.917, allocations: 1.375 kB / 1.346 GB, free: 11.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002192/0.9172, allocations: 18.53 kB / 1.346 GB, free: 11.34 MB / 1.061 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.000308/0.9176, allocations: 0.639 MB / 1.347 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.9178, allocations: 125.7 kB / 1.347 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9178, allocations: 1.125 kB / 1.347 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.9178, allocations: 13.86 kB / 1.347 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.918, allocations: 26.42 kB / 1.347 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.9195, allocations: 1.66 MB / 1.349 GB, free: 9.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.9196, allocations: 0.6965 MB / 1.349 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.9197, allocations: 8.094 kB / 1.349 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.9197, allocations: 31.42 kB / 1.349 GB, free: 8.508 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.9197, allocations: 0 / 1.349 GB, free: 8.508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.9418, allocations: 2.894 MB / 1.352 GB, free: 8.039 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/9.183, allocations: 9.906 kB / 1.352 GB, free: 8.035 MB / 1.061 GB " [Timeout remaining time 291] (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 -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.294812662003096] Failed to read output from testmodel.py, exit status != 0: 9.307743476994801 9.328388295 8.41163026 Calling exit ...