Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001454/0.001454, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001479/0.001479, allocations: 215.2 kB / 23.04 MB, free: 5.07 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8 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.83/2.83, allocations: 476.7 MB / 0.7715 GB, free: 4.281 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.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.002013/0.002013, allocations: 64.77 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002614/0.3353, allocations: 0.9404 MB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3371, allocations: 1.211 MB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3372, allocations: 4 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.3373, allocations: 27.73 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.3374, allocations: 19.84 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3379, allocations: 147.2 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.3381, allocations: 167.6 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3382, allocations: 29.38 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.3383, allocations: 63.78 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3384, allocations: 55.75 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3385, allocations: 16 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.3385, allocations: 23.98 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.3386, allocations: 19.92 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.3387, allocations: 59.72 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3389, allocations: 167.5 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3389, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3389, allocations: 4 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3389, allocations: 0 / 1.287 GB, free: 8.656 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.0006049/0.3395, allocations: 367.5 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3396, allocations: 12.03 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.578e-05/0.3396, allocations: 192 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.3396, allocations: 38.75 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.3397, allocations: 12.84 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.3399, allocations: 164.8 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.34, allocations: 8.375 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.34, allocations: 12.36 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3401, allocations: 80.52 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3401, allocations: 4 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3402, allocations: 11.98 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3402, allocations: 0 / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.3402, allocations: 23.94 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3408, allocations: 0.5116 MB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.3409, allocations: 30.56 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.3409, allocations: 16.92 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.3409, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.341, allocations: 59.39 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.341, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002169/0.3412, allocations: 81.58 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3413, allocations: 55.34 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3415, allocations: 175.3 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3415, allocations: 29.7 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.3416, allocations: 112 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3416, allocations: 7.953 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.3417, allocations: 29.7 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3418, allocations: 322.8 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.3419, allocations: 39.98 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.342, allocations: 50.56 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3422, allocations: 96.2 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3422, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003228/0.3425, allocations: 175.5 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.3425, allocations: 41.69 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3425, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3426, allocations: 4 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.3426, allocations: 8.047 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.3426, allocations: 3.938 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3428, allocations: 27.97 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3428, allocations: 7.984 kB / 1.29 GB, free: 5.82 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: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001192/0.343, allocations: 121.8 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.343, allocations: 11.91 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.343, allocations: 13.03 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.343, allocations: 4 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.343, allocations: 7.922 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.343, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3432, allocations: 160.7 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3432, allocations: 3.984 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.3432, allocations: 4 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3432, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3432, allocations: 3.938 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3432, allocations: 0 / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3432, allocations: 3.938 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3434, allocations: 101 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.3434, allocations: 11.94 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3434, allocations: 0 / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.3434, allocations: 4 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3435, allocations: 7.938 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3435, allocations: 0 / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001295/0.3436, allocations: 127.9 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3436, allocations: 0 / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002348/0.3438, allocations: 31.89 kB / 1.29 GB, free: 5.141 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: 3 ($whenCondition1,$whenCondition2,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.0005201/0.3444, allocations: 0.6281 MB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3446, allocations: 123.3 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3446, allocations: 4 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.3447, allocations: 12 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.3449, allocations: 26.86 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.3471, allocations: 1.682 MB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3474, allocations: 0.7002 MB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.3475, allocations: 4.438 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.3475, allocations: 31.42 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of SimCode: time 1.092e-06/0.3475, allocations: 0 / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3755, allocations: 3.016 MB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.09, allocations: 3.938 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.74343949998729] Failed to read output from testmodel.py, exit status != 0: 12.787521407008171 12.284322402 11.940815955 Calling exit ...