Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001748/0.001748, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.002187/0.002187, allocations: 208 kB / 20.09 MB, free: 2.996 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9924/0.9924, allocations: 150 MB / 459.5 MB, free: 5.32 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: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") [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.001973/0.001973, allocations: 71.19 kB / 0.6366 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1949, allocations: 89.14 MB / 0.7236 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00248/0.1974, allocations: 0.7584 MB / 0.7244 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1987, allocations: 0.8995 MB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.1988, allocations: 0 / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.1989, allocations: 3.938 kB / 0.7253 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.199, allocations: 15.86 kB / 0.7253 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.1992, allocations: 35.95 kB / 0.7253 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1993, allocations: 87.81 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1994, allocations: 23.92 kB / 0.7254 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.1995, allocations: 35.91 kB / 0.7255 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.1996, allocations: 47.81 kB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1997, allocations: 8 kB / 0.7255 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.1997, allocations: 11.94 kB / 0.7255 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.1997, allocations: 19.92 kB / 0.7255 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.1998, allocations: 43.77 kB / 0.7256 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.2, allocations: 87.61 kB / 0.7257 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2, allocations: 7.984 kB / 0.7257 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2, allocations: 0 / 0.7257 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2, allocations: 0 / 0.7257 GB, free: 1.457 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.0007172/0.2007, allocations: 397 kB / 0.726 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2007, allocations: 12.02 kB / 0.7261 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.2008, allocations: 16.89 kB / 0.7261 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.201, allocations: 172.3 kB / 0.7262 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.201, allocations: 384 / 0.7262 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.201, allocations: 12.38 kB / 0.7263 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.2013, allocations: 113.4 kB / 0.7264 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2013, allocations: 0 / 0.7264 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2014, allocations: 0 / 0.7264 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2014, allocations: 4 kB / 0.7264 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.2018, allocations: 99.89 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.2024, allocations: 344.6 kB / 0.7268 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.2031, allocations: 110.6 kB / 0.7269 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.2033, allocations: 64.8 kB / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2033, allocations: 0 / 0.727 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2033, allocations: 38.56 kB / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2033, allocations: 0 / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007344/0.2041, allocations: 181.5 kB / 0.7272 GB, free: 15.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2041, allocations: 55.41 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2042, allocations: 121.8 kB / 0.7273 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2043, allocations: 29.7 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.2043, allocations: 96.06 kB / 0.7275 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.2044, allocations: 23.8 kB / 0.7275 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.2044, allocations: 25.7 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2046, allocations: 318.8 kB / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2048, allocations: 43.95 kB / 0.7278 GB, free: 15.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.205, allocations: 47.94 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.2053, allocations: 100.8 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2053, allocations: 3.938 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000445/0.2058, allocations: 129.6 kB / 0.7281 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2058, allocations: 8 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2058, allocations: 0 / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2058, allocations: 0 / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.206, allocations: 23.97 kB / 0.7281 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.206, allocations: 4 kB / 0.7282 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2061, allocations: 27.75 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.2061, allocations: 0 / 0.7282 GB, free: 14.66 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,sub.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.0001012/0.2062, allocations: 117.8 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.2063, allocations: 7.953 kB / 0.7283 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.2063, allocations: 16.31 kB / 0.7283 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2063, allocations: 4 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2063, allocations: 0 / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2063, allocations: 7.938 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.2066, allocations: 197.6 kB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2066, allocations: 0 / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.2067, allocations: 23.97 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2067, allocations: 4 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2068, allocations: 0 / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2068, allocations: 4 kB / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2068, allocations: 0 / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.2073, allocations: 243.9 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.2073, allocations: 85.05 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2073, allocations: 0 / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2075, allocations: 15.97 kB / 0.7289 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.2076, allocations: 23.86 kB / 0.7289 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2076, allocations: 11.98 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.2076, allocations: 87.28 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2076, allocations: 0 / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002367/0.2079, allocations: 19.95 kB / 0.729 GB, free: 13.71 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 (sub.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.0001348/0.208, allocations: 99.23 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.2085, allocations: 116 kB / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2085, allocations: 0 / 0.7292 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.2087, allocations: 59.88 kB / 0.7293 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.209, allocations: 12.73 kB / 0.7293 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.2095, allocations: 174.1 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2098, allocations: 0.6963 MB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.2099, allocations: 8 kB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.21, allocations: 23.42 kB / 0.7302 GB, free: 12.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.21, allocations: 3.938 kB / 0.7302 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Templates: time 0.004675/0.2146, allocations: 1.572 MB / 0.7317 GB, free: 10.9 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.199641063110903] Failed to read output from testmodel.py, exit status != 0: 0.22191432490944862 0.237199352 0.034290808 Calling exit ...