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.002114/0.002114, 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.002536/0.002536, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 8.016 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 3.296/3.296, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 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.001971/0.001971, allocations: 75.11 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 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.002317/0.3537, allocations: 0.9348 MB / 1.346 GB, free: 15.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3553, allocations: 1.209 MB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.3554, allocations: 7.938 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.3556, allocations: 23.8 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.3556, allocations: 23.78 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.3561, allocations: 144 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.3564, allocations: 171.6 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3565, allocations: 41.77 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.3566, allocations: 47.86 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3567, allocations: 55.75 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.3567, allocations: 23.98 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.435e-05/0.3568, allocations: 27.98 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.3568, allocations: 19.81 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.3569, allocations: 63.72 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3571, allocations: 159.5 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3572, allocations: 8 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3572, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3572, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 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.0005787/0.3577, allocations: 364.8 kB / 1.349 GB, free: 13.15 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3578, allocations: 16.03 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.382e-05/0.3578, allocations: 192 / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.3578, allocations: 34.75 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.3579, allocations: 20.89 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3581, allocations: 162.3 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3581, allocations: 4.375 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3582, allocations: 8.375 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3583, allocations: 92.56 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3583, allocations: 0 / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3583, allocations: 3.984 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3583, allocations: 0 / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.3584, allocations: 35.86 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.359, allocations: 0.5 MB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/0.359, allocations: 30.58 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.359, allocations: 12.91 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.3591, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.3592, allocations: 67.33 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3592, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000198/0.3594, allocations: 85.59 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3594, allocations: 55.34 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3596, allocations: 172.4 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3596, allocations: 29.7 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3597, allocations: 108.1 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.3597, allocations: 11.89 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.3598, allocations: 33.7 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3599, allocations: 322.8 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/0.36, allocations: 43.92 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.3601, allocations: 54.58 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3602, allocations: 88.27 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3603, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003038/0.3606, allocations: 163.2 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.3606, allocations: 45.75 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3606, allocations: 0 / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3606, allocations: 7.938 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.3607, allocations: 3.938 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3607, allocations: 7.938 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.3609, allocations: 27.92 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3609, allocations: 7.984 kB / 1.351 GB, free: 10.71 MB / 1.045 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.0001029/0.361, allocations: 125.8 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.361, allocations: 7.953 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.361, allocations: 13.03 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.361, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.361, allocations: 8 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.361, allocations: 3.984 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3612, allocations: 152.7 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3612, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.3612, allocations: 7.984 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3612, allocations: 3.938 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3612, allocations: 4 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3612, allocations: 0 / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3612, allocations: 3.938 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.3614, allocations: 101 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.3614, allocations: 11.91 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3614, allocations: 7.984 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.3614, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.3615, allocations: 4.219 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3615, allocations: 4 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001008/0.3616, allocations: 128 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3616, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002181/0.3618, allocations: 27.92 kB / 1.351 GB, free: 10.03 MB / 1.045 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.0004572/0.3622, allocations: 0.628 MB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3625, allocations: 123.4 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3625, allocations: 0 / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.3625, allocations: 15.94 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.3627, allocations: 33.8 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3647, allocations: 1.689 MB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.365, allocations: 0.6963 MB / 1.354 GB, free: 6.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.365, allocations: 4.438 kB / 1.354 GB, free: 6.672 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.3651, allocations: 31.42 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of SimCode: time 3.6e-07/0.3651, allocations: 0 / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.3889, allocations: 3.005 MB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 9.938 kB / 1.357 GB, free: 3.797 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.984175607038196] Failed to read output from testmodel.py, exit status != 0: 12.290815830987412 12.308802533 11.948492348 Calling exit ...