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.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.001516/0.001516, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001941/0.001941, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.655/1.655, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.126/1.126, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA 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.002659/0.002659, allocations: 67.55 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2127, allocations: 89.14 MB / 0.7232 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002333/0.215, allocations: 0.7617 MB / 0.7239 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2165, allocations: 0.8995 MB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.2166, allocations: 0 / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.2166, allocations: 7.922 kB / 0.7248 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2167, allocations: 11.88 kB / 0.7248 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.2169, allocations: 39.88 kB / 0.7249 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2171, allocations: 79.89 kB / 0.7249 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2172, allocations: 27.91 kB / 0.725 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.2174, allocations: 43.83 kB / 0.725 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2175, allocations: 47.83 kB / 0.725 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.2175, allocations: 8 kB / 0.7251 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.2175, allocations: 8 kB / 0.7251 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.2176, allocations: 23.91 kB / 0.7251 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.2176, allocations: 35.8 kB / 0.7251 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2178, allocations: 87.94 kB / 0.7252 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2178, allocations: 0 / 0.7252 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2178, allocations: 0 / 0.7252 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2178, allocations: 0 / 0.7252 GB, free: 1.941 MB / 0.5294 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.0008079/0.2186, allocations: 407.1 kB / 0.7256 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2187, allocations: 8.031 kB / 0.7256 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.2187, allocations: 34.75 kB / 0.7256 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.2188, allocations: 8.891 kB / 0.7256 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.219, allocations: 184 kB / 0.7258 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.219, allocations: 4.375 kB / 0.7258 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.219, allocations: 16.06 kB / 0.7258 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.2194, allocations: 101.6 kB / 0.7259 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2194, allocations: 4 kB / 0.7259 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2194, allocations: 0 / 0.7259 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.2194, allocations: 3.984 kB / 0.7259 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.2198, allocations: 95.89 kB / 0.726 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.2205, allocations: 348.6 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.2211, allocations: 114.6 kB / 0.7265 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.2214, allocations: 60.75 kB / 0.7265 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2214, allocations: 0 / 0.7265 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2214, allocations: 34.56 kB / 0.7266 GB, free: 384 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.2214, allocations: 0 / 0.7266 GB, free: 384 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007684/0.2222, allocations: 185.5 kB / 0.7267 GB, free: 192 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2222, allocations: 55.34 kB / 0.7268 GB, free: 124 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2224, allocations: 133.8 kB / 0.7269 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.2224, allocations: 25.7 kB / 0.7269 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.2225, allocations: 92.09 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.2225, allocations: 27.78 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.2226, allocations: 17.72 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.2228, allocations: 322.8 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.223, allocations: 51.89 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.2232, allocations: 43.95 kB / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.2237, allocations: 96.77 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2237, allocations: 0 / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004871/0.2242, allocations: 133.6 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2242, allocations: 4 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2242, allocations: 0 / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2242, allocations: 0 / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2244, allocations: 31.91 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2244, allocations: 7.875 kB / 0.7277 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.2246, allocations: 19.92 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2246, allocations: 8 kB / 0.7278 GB, free: 15.08 MB / 0.545 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.0001289/0.2247, allocations: 113.8 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.2247, allocations: 3.953 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.2248, allocations: 16.36 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2248, allocations: 0 / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2248, allocations: 3.938 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2248, allocations: 0 / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2251, allocations: 201.6 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2251, allocations: 0 / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2252, allocations: 27.97 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.2252, allocations: 3.984 kB / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2253, allocations: 0 / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2253, allocations: 4 kB / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2253, allocations: 3.938 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.2258, allocations: 235.3 kB / 0.7283 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.2259, allocations: 89 kB / 0.7284 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2259, allocations: 0 / 0.7284 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2261, allocations: 11.98 kB / 0.7284 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.2262, allocations: 27.91 kB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2262, allocations: 0 / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.994e-05/0.2263, allocations: 95.27 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2263, allocations: 0 / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002434/0.2265, allocations: 20 kB / 0.7286 GB, free: 14.14 MB / 0.545 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.0009752/0.2275, allocations: 0.7715 MB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.228, allocations: 108 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.228, allocations: 0 / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.2282, allocations: 59.89 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.2286, allocations: 15.92 kB / 0.7295 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.2315, allocations: 1.532 MB / 0.731 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.232, allocations: 0.6962 MB / 0.7317 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.211e-05/0.2321, allocations: 11.98 kB / 0.7317 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2322, allocations: 35.42 kB / 0.7317 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 1.813e-06/0.2322, allocations: 0 / 0.7317 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.2629, allocations: 2.687 MB / 0.7344 GB, free: 8.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.686, allocations: 14.12 kB / 0.7344 GB, free: 8.199 MB / 0.545 GB " [Timeout remaining time 651] (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: 13.214698628988117] Failed to read output from testmodel.py, exit status != 0: 8.75552088394761 8.76964874 8.54890371 Calling exit ...