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.001426/0.001426, allocations: 109 kB / 20.48 MB, free: 1.465 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.001678/0.001678, allocations: 213.8 kB / 23.79 MB, free: 4.676 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.965 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 0.9753/0.9753, allocations: 150 MB / 464 MB, free: 10.47 MB / 366.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",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.002078/0.002078, allocations: 65 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1648, allocations: 89.17 MB / 0.7291 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002147/0.167, allocations: 0.7566 MB / 0.7299 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1681, allocations: 0.8938 MB / 0.7307 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.1682, allocations: 0 / 0.7307 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.1682, allocations: 11.88 kB / 0.7307 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.1683, allocations: 15.8 kB / 0.7308 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.1684, allocations: 35.95 kB / 0.7308 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1686, allocations: 87.81 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1687, allocations: 15.98 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.1687, allocations: 43.84 kB / 0.7309 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.1688, allocations: 43.83 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1689, allocations: 8 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.1689, allocations: 8 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.1689, allocations: 31.91 kB / 0.731 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.169, allocations: 27.86 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1691, allocations: 95.81 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.1691, allocations: 4 kB / 0.7311 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1691, allocations: 0 / 0.7311 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1691, allocations: 0 / 0.7311 GB, free: 15.15 MB / 0.5606 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.0006198/0.1697, allocations: 326 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1698, allocations: 8.031 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.813e-05/0.1698, allocations: 12.19 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1698, allocations: 34.73 kB / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.1698, allocations: 8.891 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.17, allocations: 122.4 kB / 0.7316 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.17, allocations: 4.375 kB / 0.7316 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.17, allocations: 11.94 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.1703, allocations: 105.5 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1703, allocations: 3.984 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1704, allocations: 4 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1704, allocations: 3.984 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.1708, allocations: 95.91 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.1713, allocations: 315.7 kB / 0.7322 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.172, allocations: 122.5 kB / 0.7323 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.1722, allocations: 52.81 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1722, allocations: 0 / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1722, allocations: 42.55 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1722, allocations: 0 / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007262/0.173, allocations: 185.7 kB / 0.7325 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.173, allocations: 55.34 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1731, allocations: 124.9 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1732, allocations: 29.7 kB / 0.7327 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1732, allocations: 92.09 kB / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1733, allocations: 23.83 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.1733, allocations: 21.7 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1734, allocations: 318.8 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.1737, allocations: 47.94 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1738, allocations: 47.95 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1742, allocations: 96.77 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1742, allocations: 0 / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004422/0.1747, allocations: 141.5 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1747, allocations: 4 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1747, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1747, allocations: 4 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1749, allocations: 23.97 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1749, allocations: 7.922 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.175, allocations: 15.94 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.175, allocations: 0 / 0.7335 GB, free: 12.5 MB / 0.5606 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 9.65e-05/0.1751, allocations: 121.8 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1751, allocations: 4 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.1752, allocations: 16.36 kB / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1752, allocations: 3.938 kB / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1752, allocations: 7.938 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1752, allocations: 0 / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1754, allocations: 168.6 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1754, allocations: 3.984 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.1756, allocations: 31.84 kB / 0.7339 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1756, allocations: 8 kB / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1756, allocations: 0 / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1756, allocations: 4 kB / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1756, allocations: 3.938 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.1761, allocations: 235.4 kB / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.1761, allocations: 7.938 kB / 0.7341 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1762, allocations: 0 / 0.7341 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1763, allocations: 11.98 kB / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.1764, allocations: 23.91 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1764, allocations: 7.984 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.363e-05/0.1765, allocations: 95.27 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1765, allocations: 3.938 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002437/0.1767, allocations: 15.95 kB / 0.7343 GB, free: 11.67 MB / 0.5606 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.000858/0.1776, allocations: 0.7554 MB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.178, allocations: 115.8 kB / 0.7351 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.178, allocations: 0 / 0.7351 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1782, allocations: 56.56 kB / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1786, allocations: 11.94 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1808, allocations: 1.545 MB / 0.7367 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1811, allocations: 0.6962 MB / 0.7374 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.1812, allocations: 8 kB / 0.7374 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.1813, allocations: 27.42 kB / 0.7374 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1813, allocations: 4 kB / 0.7374 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.2044, allocations: 2.869 MB / 0.7402 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.3, allocations: 11.88 kB / 0.7402 GB, free: 5.598 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.109324993973132] Failed to read output from testmodel.py, exit status != 0: 11.466305795998778 11.491167397 11.317503481 Calling exit ...