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.001351/0.001351, 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.001413/0.001413, allocations: 220.1 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.046/3.046, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 GB " [Timeout remaining time 177] 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.001892/0.001892, allocations: 61.36 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3167, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 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.002117/0.3189, allocations: 0.8283 MB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3204, allocations: 1.186 MB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.3204, allocations: 7.938 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.3206, allocations: 19.8 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.3206, allocations: 27.78 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.321, allocations: 142.5 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.3213, allocations: 175.6 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3214, allocations: 37.78 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.3214, allocations: 51.86 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3215, allocations: 55.75 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3216, allocations: 16 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.866e-05/0.3216, allocations: 31.92 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.3217, allocations: 15.86 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.3217, allocations: 47.8 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.322, allocations: 171.4 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.322, allocations: 4 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.32e-07/0.322, allocations: 0 / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.322, allocations: 0 / 1.348 GB, free: 13.11 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.0005124/0.3225, allocations: 363.5 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3225, allocations: 16.02 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.3225, allocations: 4.188 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.3226, allocations: 34.75 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3226, allocations: 12.89 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3229, allocations: 170.3 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3229, allocations: 8.375 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3229, allocations: 8.375 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.323, allocations: 84.56 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.3231, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3231, allocations: 4 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3231, allocations: 3.938 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.3231, allocations: 31.92 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.3237, allocations: 480.1 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.694e-05/0.3237, allocations: 30.56 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.3238, allocations: 16.92 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.3238, allocations: 0 / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.3239, allocations: 71.33 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3239, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002026/0.3241, allocations: 81.58 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.3241, allocations: 59.34 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3243, allocations: 176.4 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3243, allocations: 25.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.3244, allocations: 108.1 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.3244, allocations: 7.953 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3245, allocations: 37.7 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3246, allocations: 318.8 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3247, allocations: 73.62 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3249, allocations: 96.22 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.325, allocations: 92.27 kB / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.325, allocations: 0 / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003104/0.3253, allocations: 197 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3253, allocations: 41.69 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3253, allocations: 4.062 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3253, allocations: 7.875 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.3254, allocations: 4 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3254, allocations: 3.938 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3256, allocations: 31.86 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.3256, allocations: 8.047 kB / 1.351 GB, free: 10.18 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: 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 0.0001064/0.3257, allocations: 121.8 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.3257, allocations: 11.95 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.3257, allocations: 16.97 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3258, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3258, allocations: 7.938 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3258, allocations: 3.984 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3259, allocations: 152.7 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3259, allocations: 0 / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.3259, allocations: 0 / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3259, allocations: 4 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3259, allocations: 0 / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3259, allocations: 3.984 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3259, allocations: 3.938 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.3261, allocations: 101 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.3261, allocations: 7.906 kB / 1.351 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3261, allocations: 4 kB / 1.351 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.3261, allocations: 3.984 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.3261, allocations: 3.938 kB / 1.351 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3262, allocations: 4 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.9e-05/0.3262, allocations: 124 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 0 / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002176/0.3265, allocations: 20 kB / 1.351 GB, free: 9.52 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: 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.0004536/0.3269, allocations: 0.6397 MB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3272, allocations: 153.1 kB / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3272, allocations: 0 / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.3272, allocations: 15.94 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.3274, allocations: 28.61 kB / 1.352 GB, free: 8.637 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3294, allocations: 1.782 MB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.182e-05/0.3294, allocations: 84.33 kB / 1.354 GB, free: 6.621 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.3295, allocations: 8.422 kB / 1.354 GB, free: 6.613 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3295, allocations: 27.42 kB / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.3295, allocations: 0 / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3523, allocations: 3.105 MB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.18, allocations: 4.312 kB / 1.357 GB, free: 3.664 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.452053853077814] Failed to read output from testmodel.py, exit status != 0: 11.333509405027144 11.349995564 11.025004253 Calling exit ...