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.00147/0.00147, allocations: 111.1 kB / 17.08 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.002026/0.002025, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.589/1.589, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.165/1.165, allocations: 147.6 MB / 445.6 MB, free: 8.234 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.3235/0.3235, allocations: 64.02 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.4918, allocations: 83.16 MB / 0.6921 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002084/0.4939, allocations: 0.7462 MB / 0.6928 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4952, allocations: 0.8717 MB / 0.6937 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.4952, allocations: 0 / 0.6937 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.4953, allocations: 4.688 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.193e-05/0.4954, allocations: 15.7 kB / 0.6937 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.4956, allocations: 42.45 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.4957, allocations: 75.66 kB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.4959, allocations: 27.55 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.496, allocations: 36.86 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.4961, allocations: 48.06 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.4961, allocations: 8 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.4961, allocations: 11.69 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.4962, allocations: 27.62 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.4962, allocations: 37.41 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.4964, allocations: 83.03 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4964, allocations: 3.938 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4964, allocations: 5.25 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4964, allocations: 0 / 0.6941 GB, free: 11.8 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.0007308/0.4972, allocations: 391 kB / 0.6945 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4972, allocations: 9.281 kB / 0.6945 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.4973, allocations: 41.34 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.4973, allocations: 8.547 kB / 0.6945 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.4975, allocations: 176.8 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.4975, allocations: 7.578 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.4976, allocations: 15.28 kB / 0.6947 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.4979, allocations: 110.3 kB / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4979, allocations: 0 / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4979, allocations: 0 / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.498, allocations: 1.25 kB / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.4984, allocations: 101.2 kB / 0.6949 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.499, allocations: 351.4 kB / 0.6953 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.4996, allocations: 117 kB / 0.6954 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4999, allocations: 66.98 kB / 0.6954 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4999, allocations: 0 / 0.6954 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4999, allocations: 36 kB / 0.6955 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4999, allocations: 0 / 0.6955 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000776/0.5007, allocations: 179.8 kB / 0.6956 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5008, allocations: 52.91 kB / 0.6957 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.5009, allocations: 132.6 kB / 0.6958 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.501, allocations: 27.08 kB / 0.6958 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.501, allocations: 94.86 kB / 0.6959 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.5011, allocations: 22.55 kB / 0.696 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.5011, allocations: 24.58 kB / 0.696 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5013, allocations: 324.2 kB / 0.6963 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.5015, allocations: 43.33 kB / 0.6963 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.5017, allocations: 48.64 kB / 0.6964 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.5021, allocations: 102.7 kB / 0.6965 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5021, allocations: 0 / 0.6965 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004289/0.5025, allocations: 132.7 kB / 0.6966 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5025, allocations: 5.5 kB / 0.6966 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5025, allocations: 0 / 0.6966 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5026, allocations: 0 / 0.6966 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.5027, allocations: 28.47 kB / 0.6966 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.5028, allocations: 9.312 kB / 0.6966 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5029, allocations: 18.73 kB / 0.6967 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.5029, allocations: 5.359 kB / 0.6967 GB, free: 9.504 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.0001049/0.503, allocations: 115.5 kB / 0.6968 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.5031, allocations: 10.64 kB / 0.6968 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.5031, allocations: 9.75 kB / 0.6968 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5031, allocations: 1.375 kB / 0.6968 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5031, allocations: 7.938 kB / 0.6968 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5031, allocations: 1.375 kB / 0.6968 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.5034, allocations: 199.5 kB / 0.697 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5034, allocations: 0 / 0.697 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5036, allocations: 28.47 kB / 0.697 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5036, allocations: 0 / 0.697 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5036, allocations: 5.375 kB / 0.697 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5036, allocations: 3.984 kB / 0.697 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5036, allocations: 5.312 kB / 0.697 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.5041, allocations: 230.5 kB / 0.6973 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.5042, allocations: 87.8 kB / 0.6973 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5042, allocations: 5.375 kB / 0.6973 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.5044, allocations: 10.86 kB / 0.6974 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5045, allocations: 25.41 kB / 0.6974 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.5045, allocations: 6.75 kB / 0.6974 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.5046, allocations: 92.89 kB / 0.6975 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5046, allocations: 1.375 kB / 0.6975 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002441/0.5048, allocations: 18.94 kB / 0.6975 GB, free: 8.699 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.0009226/0.5058, allocations: 0.7715 MB / 0.6983 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.5063, allocations: 102.1 kB / 0.6983 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5063, allocations: 0 / 0.6983 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.5065, allocations: 66.08 kB / 0.6984 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5069, allocations: 13.75 kB / 0.6984 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.5092, allocations: 1.529 MB / 0.6999 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.5096, allocations: 0.6902 MB / 0.7006 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.5096, allocations: 18.61 kB / 0.7006 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.5097, allocations: 29.61 kB / 0.7006 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.5097, allocations: 0 / 0.7006 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.5341, allocations: 2.681 MB / 0.7033 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.618, allocations: 5.125 kB / 0.7033 GB, free: 3.242 MB / 0.5137 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 & /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 sys.exit(0), Time elapsed: 12.326186827151105] Failed to read output from testmodel.py, exit status != 0: 8.684349006041884 8.699341195 8.200000201 Calling exit ...