Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.00185/0.00185, 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.002426/0.002426, allocations: 216.2 kB / 23.03 MB, free: 4.949 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.323/3.323, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.002034/0.002034, allocations: 61.05 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002017/0.3443, allocations: 0.7563 MB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3454, allocations: 0.8899 MB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.3455, allocations: 4 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3455, allocations: 3.938 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.3456, allocations: 7.875 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.3458, allocations: 43.88 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3459, allocations: 83.83 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.346, allocations: 20.27 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.073e-05/0.3461, allocations: 43.83 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.3462, allocations: 47.77 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.3462, allocations: 8 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.836e-05/0.3462, allocations: 8 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.3463, allocations: 31.91 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.3463, allocations: 27.86 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3465, allocations: 83.67 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3465, allocations: 3.984 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3465, allocations: 0 / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3465, allocations: 0 / 1.347 GB, free: 13.87 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006511/0.3471, allocations: 322 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3472, allocations: 12.03 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.329e-05/0.3472, allocations: 192 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.3472, allocations: 46.73 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3473, allocations: 8.891 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3474, allocations: 118.4 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3474, allocations: 4.375 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3474, allocations: 15.88 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.3477, allocations: 101.6 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3478, allocations: 3.984 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3478, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.3478, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.3481, allocations: 99.91 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.3487, allocations: 291.8 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.3494, allocations: 118.6 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.3496, allocations: 68.73 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3496, allocations: 0 / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3496, allocations: 30.56 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.3496, allocations: 0 / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000668/0.3503, allocations: 181.5 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3503, allocations: 59.34 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3504, allocations: 121.8 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3505, allocations: 25.7 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.3505, allocations: 96.09 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3505, allocations: 23.78 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3506, allocations: 29.64 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3508, allocations: 314.8 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.351, allocations: 47.89 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3512, allocations: 51.95 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.3515, allocations: 96.77 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3515, allocations: 0 / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00041/0.3519, allocations: 133.6 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3519, allocations: 14.02 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3519, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3519, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3521, allocations: 31.84 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3521, allocations: 3.938 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3522, allocations: 15.98 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3523, allocations: 0 / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001042/0.3524, allocations: 121.8 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3524, allocations: 7.953 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.3524, allocations: 12.36 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3524, allocations: 4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.3524, allocations: 3.938 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3524, allocations: 0 / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3527, allocations: 156.7 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3527, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.3528, allocations: 23.97 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3528, allocations: 3.984 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3529, allocations: 11.98 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3529, allocations: 0 / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3529, allocations: 4.484 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.3533, allocations: 239.3 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3533, allocations: 7.891 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3534, allocations: 4 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3535, allocations: 11.98 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.3536, allocations: 31.91 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3536, allocations: 0 / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.3537, allocations: 95.27 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 0 / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002343/0.3539, allocations: 16 kB / 1.35 GB, free: 10.43 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 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008301/0.3547, allocations: 0.7748 MB / 1.351 GB, free: 9.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.3551, allocations: 99.91 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3552, allocations: 0 / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.3554, allocations: 63.88 kB / 1.351 GB, free: 9.473 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3557, allocations: 11.88 kB / 1.351 GB, free: 9.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3579, allocations: 1.543 MB / 1.353 GB, free: 7.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.358, allocations: 79.08 kB / 1.353 GB, free: 7.742 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.712e-05/0.358, allocations: 12 kB / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.3581, allocations: 31.42 kB / 1.353 GB, free: 7.699 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3581, allocations: 0 / 1.353 GB, free: 7.699 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3812, allocations: 2.986 MB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 11.06 kB / 1.356 GB, free: 4.855 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.835878717014566] Failed to read output from testmodel.py, exit status != 0: 11.926107135019265 11.950017167 11.59872409 Calling exit ...