Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001313/0.001313, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.00143/0.00143, allocations: 220 kB / 23.04 MB, free: 5.078 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",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.002029/0.002029, allocations: 75.48 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00222/0.3532, allocations: 0.7111 MB / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3544, allocations: 0.8743 MB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.3544, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.3545, allocations: 7.875 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.3546, allocations: 15.92 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3547, allocations: 19.97 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3549, allocations: 39.92 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.355, allocations: 11.98 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.3551, allocations: 27.84 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.3552, allocations: 23.92 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3552, allocations: 4 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.3552, allocations: 4 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.3552, allocations: 15.92 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.3553, allocations: 11.94 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3554, allocations: 56.06 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3554, allocations: 7.938 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3554, allocations: 0 / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3554, allocations: 0 / 1.328 GB, free: 156 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006444/0.3561, allocations: 278.2 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.3561, allocations: 8.031 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.687e-05/0.3562, allocations: 192 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.3562, allocations: 38.75 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3562, allocations: 0.9375 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3564, allocations: 122.4 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3564, allocations: 384 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3564, allocations: 11.94 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.3567, allocations: 69.64 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3567, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3567, allocations: 3.984 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3567, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.3569, allocations: 55.94 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.3575, allocations: 255.8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3577, allocations: 58.55 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.3579, allocations: 36.91 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3579, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3579, allocations: 30.56 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3579, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004813/0.3584, allocations: 113.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.3585, allocations: 55.39 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3586, allocations: 105.9 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3586, allocations: 33.69 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.3587, allocations: 84.14 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3587, allocations: 19.78 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3587, allocations: 21.7 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3589, allocations: 314.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.359, allocations: 19.98 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.492e-05/0.3591, allocations: 27.97 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3593, allocations: 56.81 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3593, allocations: 3.938 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002436/0.3595, allocations: 89.58 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3596, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3596, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3596, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3597, allocations: 15.98 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3597, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.3598, allocations: 15.92 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3598, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001368/0.36, allocations: 114.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.36, allocations: 3.953 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.36, allocations: 8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.36, allocations: 336 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.36, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.36, allocations: 7.938 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3602, allocations: 148.8 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3602, allocations: 3.984 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.3603, allocations: 11.98 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3603, allocations: 3.938 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3603, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3603, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3603, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3606, allocations: 191.4 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.3607, allocations: 3.984 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3607, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.3608, allocations: 8 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.3608, allocations: 7.984 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3608, allocations: 7.922 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.3609, allocations: 95.56 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002204/0.3611, allocations: 16 kB / 1.331 GB, free: 13.34 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: 2 (addPar.y,reaToInt.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): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000599/0.3617, allocations: 0.7085 MB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3619, allocations: 59.94 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.362, allocations: 0 / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3621, allocations: 39.84 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3624, allocations: 10.28 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3642, allocations: 1.323 MB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3645, allocations: 0.6807 MB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.3645, allocations: 4 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.3646, allocations: 23.42 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/0.3646, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.3862, allocations: 1.984 MB / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.64, allocations: 8 kB / 1.336 GB, free: 8.527 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.49649293802213] Failed to read output from testmodel.py, exit status != 0: 11.797115734952968 11.813398331 11.454897599 Calling exit ...