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.001873/0.001873, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001863/0.001863, allocations: 214.9 kB / 23.03 MB, free: 4.922 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.915/2.915, allocations: 476.8 MB / 0.7715 GB, free: 3.848 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.002123/0.002123, allocations: 63.83 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2918, allocations: 170 MB / 1.284 GB, free: 10.65 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.002395/0.2942, allocations: 0.8897 MB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.296, allocations: 1.184 MB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.2961, allocations: 7.938 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.2962, allocations: 31.72 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.2963, allocations: 19.86 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2968, allocations: 147.2 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.297, allocations: 167.6 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2972, allocations: 25.58 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.996e-05/0.2973, allocations: 59.83 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2974, allocations: 59.64 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.2974, allocations: 16 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.2975, allocations: 27.98 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.2975, allocations: 27.91 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.2976, allocations: 39.86 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.2979, allocations: 176.5 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2979, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2979, allocations: 3.938 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2979, allocations: 0 / 1.287 GB, free: 7.773 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.0006087/0.2985, allocations: 363.5 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2985, allocations: 12.03 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.307e-05/0.2986, allocations: 192 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.2986, allocations: 38.73 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.2986, allocations: 16.84 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.2989, allocations: 162.3 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.2989, allocations: 4.375 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.299, allocations: 8.375 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2991, allocations: 92.5 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2991, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2992, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2992, allocations: 4 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.2992, allocations: 23.98 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.2998, allocations: 496.1 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.2999, allocations: 26.52 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.2999, allocations: 12.92 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2999, allocations: 7.938 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.3001, allocations: 63.38 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3001, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002232/0.3003, allocations: 85.58 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3003, allocations: 55.34 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3005, allocations: 167.3 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3005, allocations: 29.7 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.3006, allocations: 116 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.3006, allocations: 11.94 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.3007, allocations: 29.7 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3008, allocations: 318.8 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.301, allocations: 69.69 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3011, allocations: 88.25 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3012, allocations: 92.22 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3012, allocations: 0 / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003294/0.3016, allocations: 208.9 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.3016, allocations: 43.83 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3016, allocations: 0 / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3016, allocations: 3.984 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.3017, allocations: 8.062 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3017, allocations: 3.938 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3019, allocations: 23.97 kB / 1.289 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3019, allocations: 4 kB / 1.289 GB, free: 4.863 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.000108/0.302, allocations: 130.1 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.302, allocations: 19.89 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.3021, allocations: 9.016 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3021, allocations: 0 / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3021, allocations: 7.938 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3021, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3022, allocations: 160.7 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3022, allocations: 0 / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.3022, allocations: 0 / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3023, allocations: 4 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3023, allocations: 4 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3023, allocations: 0 / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.3023, allocations: 3.938 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.3024, allocations: 101 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.3024, allocations: 3.953 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3024, allocations: 4 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.3025, allocations: 0 / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3025, allocations: 11.86 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3025, allocations: 8 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001078/0.3026, allocations: 120 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3026, allocations: 0 / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002462/0.3029, allocations: 31.89 kB / 1.29 GB, free: 4.184 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.0004621/0.3033, allocations: 0.6281 MB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.3036, allocations: 157 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3036, allocations: 4 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.3036, allocations: 12 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3039, allocations: 23.86 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3059, allocations: 1.817 MB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.306, allocations: 88.14 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.3061, allocations: 4.438 kB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.3061, allocations: 31.42 kB / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3061, allocations: 0 / 1.293 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.3304, allocations: 3.152 MB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.37, allocations: 12.17 kB / 1.296 GB, free: 14.25 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: 19.042825261945836] Failed to read output from testmodel.py, exit status != 0: 13.020672195940278 12.559726024 12.258426977 Calling exit ...