Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001391/0.001391, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001458/0.001458, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.094/3.094, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_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.002766/0.002766, allocations: 67.38 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3302, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.002281/0.3325, allocations: 0.8393 MB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.334, allocations: 1.186 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.3341, allocations: 7.938 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.3342, allocations: 19.8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.3343, allocations: 31.78 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.3347, allocations: 144.1 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.335, allocations: 167.6 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3351, allocations: 41.78 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.3352, allocations: 55.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3353, allocations: 55.75 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.3353, allocations: 16 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.3354, allocations: 27.98 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.3354, allocations: 11.94 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.3355, allocations: 59.72 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3358, allocations: 167.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3358, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3358, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3358, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 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.0005128/0.3363, allocations: 359.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3363, allocations: 12.03 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.3363, allocations: 192 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.3364, allocations: 38.75 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.3364, allocations: 12.84 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3367, allocations: 171.9 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3367, allocations: 8.375 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3367, allocations: 8.375 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3369, allocations: 88.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3369, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3369, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3369, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.337, allocations: 31.92 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.3375, allocations: 484.1 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.3376, allocations: 30.56 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.3376, allocations: 12.92 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.3376, allocations: 3.984 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.3377, allocations: 67.33 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3377, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.3379, allocations: 77.64 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.338, allocations: 63.33 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3381, allocations: 169.4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3382, allocations: 25.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3382, allocations: 112.1 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.3383, allocations: 7.938 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.3383, allocations: 33.7 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3385, allocations: 318.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3386, allocations: 73.62 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3387, allocations: 88.25 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3388, allocations: 96.33 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3388, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003206/0.3392, allocations: 204.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3392, allocations: 45.62 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3392, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3392, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.3393, allocations: 7.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3393, allocations: 3.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3395, allocations: 27.91 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3395, allocations: 15.92 kB / 1.332 GB, free: 11.78 MB / 1.029 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.0001093/0.3396, allocations: 121.9 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.3396, allocations: 15.91 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.3396, allocations: 9.016 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3396, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3397, allocations: 3.938 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3397, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3398, allocations: 152.7 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3398, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.3398, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3398, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3398, allocations: 3.984 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3398, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3398, allocations: 3.938 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.34, allocations: 97.02 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.34, allocations: 7.906 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.34, allocations: 7.984 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.34, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.3401, allocations: 3.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3401, allocations: 12 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3402, allocations: 124.2 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3402, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002234/0.3404, allocations: 24 kB / 1.332 GB, free: 11.11 MB / 1.029 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.0004597/0.3409, allocations: 0.6435 MB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3411, allocations: 153.4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3411, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.3411, allocations: 15.94 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3414, allocations: 25.11 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3435, allocations: 1.801 MB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.579e-05/0.3436, allocations: 84.19 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.3436, allocations: 4.438 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.3437, allocations: 31.42 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3437, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3672, allocations: 3.093 MB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 13.14 kB / 1.338 GB, free: 5.254 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.46262593800202] Failed to read output from testmodel.py, exit status != 0: 12.046387983951718 12.063593297 11.724194241 Calling exit ...