Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001247/0.001247, 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.001322/0.001322, 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.897/2.897, allocations: 0.5003 GB / 0.8026 GB, free: 6.898 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.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_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.001891/0.001891, allocations: 78.08 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9212, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.00225/0.9235, allocations: 0.935 MB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.9249, allocations: 1.205 MB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.925, allocations: 6.469 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.9251, allocations: 26.86 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.9251, allocations: 20.75 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.9256, allocations: 145.9 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.9258, allocations: 172.6 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.926, allocations: 30.86 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.926, allocations: 54.42 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.9261, allocations: 57.62 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.9262, allocations: 15.34 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.9262, allocations: 35.44 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.9263, allocations: 17 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.9263, allocations: 65.62 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.9266, allocations: 163 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9266, allocations: 0 / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.021e-06/0.9266, allocations: 1.312 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.9266, allocations: 0 / 1.343 GB, free: 14.39 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.0004897/0.9271, allocations: 437.7 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.9271, allocations: 9.062 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.294e-05/0.9271, allocations: 5.625 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.029e-05/0.9272, allocations: 41.59 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.9272, allocations: 13.06 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.9274, allocations: 229 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.9275, allocations: 8 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.9275, allocations: 7.562 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.9276, allocations: 94.28 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9276, allocations: 0 / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.9276, allocations: 7.344 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.9276, allocations: 1.781 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/0.9277, allocations: 27.7 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.9282, allocations: 0.5361 MB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.4e-05/0.9282, allocations: 30.62 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.9283, allocations: 12.27 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.9283, allocations: 2.078 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.9284, allocations: 64.12 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.9284, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.9286, allocations: 81.3 kB / 1.345 GB, free: 12.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.9286, allocations: 61.28 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.9288, allocations: 172.9 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.9288, allocations: 29.06 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.9289, allocations: 108.7 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.9289, allocations: 13.94 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.9289, allocations: 30.41 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.929, allocations: 321.5 kB / 1.345 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.9291, allocations: 38.66 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/0.9292, allocations: 56.36 kB / 1.345 GB, free: 12.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.9293, allocations: 87.11 kB / 1.345 GB, free: 12.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9293, allocations: 5.281 kB / 1.345 GB, free: 12.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002828/0.9295, allocations: 168.6 kB / 1.346 GB, free: 12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.9296, allocations: 35.52 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9296, allocations: 5.625 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.9296, allocations: 1.25 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.9297, allocations: 7.375 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.9297, allocations: 5.656 kB / 1.346 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.9299, allocations: 31.47 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.9299, allocations: 7.391 kB / 1.346 GB, free: 11.95 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: 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 8.05e-05/0.93, allocations: 117.7 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.93, allocations: 12.73 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.93, allocations: 13.94 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.93, allocations: 3.938 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.93, allocations: 5.312 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9301, allocations: 4.5 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.9302, allocations: 189.1 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.9302, allocations: 0.6094 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.9302, allocations: 3.172 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.9302, allocations: 240 / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.9302, allocations: 5.891 kB / 1.346 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9302, allocations: 9.188 kB / 1.346 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9302, allocations: 3.938 kB / 1.346 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.9303, allocations: 95.61 kB / 1.346 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.9304, allocations: 88.42 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.9304, allocations: 1.812 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.9304, allocations: 0.6562 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.9304, allocations: 7.594 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.9304, allocations: 0.9688 kB / 1.346 GB, free: 11.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.882e-05/0.9305, allocations: 131.5 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9305, allocations: 0 / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002224/0.9308, allocations: 19.7 kB / 1.346 GB, free: 11.3 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: 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.0003314/0.9311, allocations: 0.6361 MB / 1.347 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.9313, allocations: 124.2 kB / 1.347 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9313, allocations: 3.938 kB / 1.347 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.9314, allocations: 14.5 kB / 1.347 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.9316, allocations: 23.66 kB / 1.347 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.9333, allocations: 1.694 MB / 1.349 GB, free: 9.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.9335, allocations: 0.6975 MB / 1.349 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.9335, allocations: 6.719 kB / 1.349 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.9336, allocations: 28.55 kB / 1.35 GB, free: 8.473 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9336, allocations: 0 / 1.35 GB, free: 8.473 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.9539, allocations: 2.93 MB / 1.352 GB, free: 7.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/9.052, allocations: 11.84 kB / 1.352 GB, free: 7.988 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.139181547041517] Failed to read output from testmodel.py, exit status != 0: 9.177583387994673 9.197180506 8.267031252 Calling exit ...