Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 104.5 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 190.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.194/1.194, allocations: 147.6 MB / 445.5 MB, free: 8.324 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2663/0.2663, allocations: 61.61 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.4552, allocations: 83.15 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002499/0.4578, allocations: 0.7609 MB / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.4592, allocations: 0.8619 MB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.4593, allocations: 1.031 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.4593, allocations: 7.875 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.4594, allocations: 5 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.4597, allocations: 50.62 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.4598, allocations: 79.73 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.46, allocations: 26.08 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.4601, allocations: 45.08 kB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.4602, allocations: 45.2 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.4602, allocations: 7.688 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.4603, allocations: 11.97 kB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.4603, allocations: 21.62 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.4604, allocations: 34.36 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.4605, allocations: 86.53 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4606, allocations: 1.531 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4606, allocations: 3.938 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4606, allocations: 0 / 0.6941 GB, free: 11.83 MB / 0.5137 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.0007697/0.4613, allocations: 388 kB / 0.6945 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4614, allocations: 12.97 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.4615, allocations: 41.08 kB / 0.6945 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.4615, allocations: 13.48 kB / 0.6945 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4617, allocations: 172 kB / 0.6947 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.4617, allocations: 7.188 kB / 0.6947 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4618, allocations: 11.59 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.4621, allocations: 104.6 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4621, allocations: 0 / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.4621, allocations: 9.5 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4622, allocations: 1.375 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.4625, allocations: 99.2 kB / 0.6949 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.4633, allocations: 346.8 kB / 0.6953 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.4639, allocations: 126.1 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.4641, allocations: 61.67 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4642, allocations: 0 / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.4642, allocations: 35.94 kB / 0.6955 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4642, allocations: 4 kB / 0.6955 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007084/0.4649, allocations: 176 kB / 0.6956 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.465, allocations: 52.78 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.4651, allocations: 138.1 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4652, allocations: 29.7 kB / 0.6958 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.4653, allocations: 94.88 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.4653, allocations: 18.55 kB / 0.696 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4654, allocations: 24.58 kB / 0.696 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4655, allocations: 316.2 kB / 0.6963 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.4657, allocations: 44.7 kB / 0.6963 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4659, allocations: 47.33 kB / 0.6964 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.4663, allocations: 98.27 kB / 0.6965 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4663, allocations: 0 / 0.6965 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000441/0.4667, allocations: 144.7 kB / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4668, allocations: 5.5 kB / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4668, allocations: 0 / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4668, allocations: 1.375 kB / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.467, allocations: 27.03 kB / 0.6966 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.467, allocations: 9.25 kB / 0.6966 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4671, allocations: 10.86 kB / 0.6967 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4671, allocations: 1.375 kB / 0.6967 GB, free: 9.543 MB / 0.5137 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.0001109/0.4673, allocations: 118 kB / 0.6968 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4673, allocations: 14.69 kB / 0.6968 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.4673, allocations: 13.69 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4674, allocations: 1.375 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.4674, allocations: 5.312 kB / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4674, allocations: 0 / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.4676, allocations: 199.2 kB / 0.697 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4676, allocations: 0 / 0.697 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4678, allocations: 24.25 kB / 0.697 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4678, allocations: 5.281 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4678, allocations: 0.9375 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4678, allocations: 0 / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4679, allocations: 12.8 kB / 0.697 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.4684, allocations: 234.9 kB / 0.6973 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.4685, allocations: 87.56 kB / 0.6973 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4685, allocations: 1.062 kB / 0.6973 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4686, allocations: 14.75 kB / 0.6974 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.4687, allocations: 22.77 kB / 0.6974 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4688, allocations: 6.703 kB / 0.6974 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.4688, allocations: 92.22 kB / 0.6975 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4688, allocations: 0.875 kB / 0.6975 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002317/0.4691, allocations: 16 kB / 0.6975 GB, free: 8.734 MB / 0.5137 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.0009164/0.47, allocations: 0.7712 MB / 0.6982 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.4705, allocations: 109.7 kB / 0.6983 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4705, allocations: 0 / 0.6983 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.4707, allocations: 63.06 kB / 0.6984 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4711, allocations: 12.97 kB / 0.6984 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.4735, allocations: 1.529 MB / 0.6999 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.4739, allocations: 0.694 MB / 0.7006 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.474, allocations: 10.88 kB / 0.7006 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.474, allocations: 30.3 kB / 0.7006 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4741, allocations: 0 / 0.7006 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.5009, allocations: 2.692 MB / 0.7033 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.425, allocations: 11.05 kB / 0.7033 GB, free: 3.215 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.34500469896011] Failed to read output from testmodel.py, exit status != 0: 8.494702025782317 8.517436611 8.052610019 Calling exit ...