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.001463/0.001463, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002374/0.002374, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.012/1.012, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] 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.002121/0.002121, allocations: 71.72 kB / 0.6416 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2124, allocations: 89.17 MB / 0.7286 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002217/0.2147, allocations: 0.738 MB / 0.7294 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2159, allocations: 0.8899 MB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.216, allocations: 4 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.216, allocations: 3.938 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.2161, allocations: 7.875 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2163, allocations: 47.88 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2165, allocations: 79.83 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2166, allocations: 19.98 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.2167, allocations: 35.89 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.2168, allocations: 43.84 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.2168, allocations: 11.94 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.782e-05/0.2168, allocations: 12 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.2169, allocations: 23.89 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2169, allocations: 31.86 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2171, allocations: 83.61 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2171, allocations: 0 / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2171, allocations: 0 / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2171, allocations: 0 / 0.7306 GB, free: 14.46 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.000672/0.2178, allocations: 330 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2178, allocations: 8.031 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.2178, allocations: 12.89 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.218, allocations: 122.4 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.218, allocations: 8.375 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.218, allocations: 4.375 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2184, allocations: 108.3 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2184, allocations: 0 / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2184, allocations: 4 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2184, allocations: 0 / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.2188, allocations: 99.89 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.2193, allocations: 276.3 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.2199, allocations: 110.6 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2201, allocations: 60.73 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2201, allocations: 8 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2202, allocations: 38.5 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2202, allocations: 0 / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007019/0.2209, allocations: 181.5 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2209, allocations: 55.39 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.221, allocations: 125.1 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2211, allocations: 25.7 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.2211, allocations: 104 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2212, allocations: 11.84 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.2212, allocations: 25.7 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2214, allocations: 322.8 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.2215, allocations: 43.95 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.2217, allocations: 47.94 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.222, allocations: 100.7 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2221, allocations: 0 / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004021/0.2225, allocations: 141.5 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2225, allocations: 6.344 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2225, allocations: 4 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2225, allocations: 0 / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2227, allocations: 23.97 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2227, allocations: 4 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2228, allocations: 11.94 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2228, allocations: 11.94 kB / 0.7329 GB, free: 11.91 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,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.0001131/0.2229, allocations: 121.8 kB / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2229, allocations: 4 kB / 0.7331 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.223, allocations: 16.36 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.223, allocations: 0 / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.223, allocations: 0 / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.223, allocations: 4 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.2232, allocations: 137.2 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2232, allocations: 0 / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2233, allocations: 23.97 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2233, allocations: 0 / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2233, allocations: 4 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2233, allocations: 0 / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2233, allocations: 7.984 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.2238, allocations: 239.8 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.2238, allocations: 7.922 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2238, allocations: 0 / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.224, allocations: 11.98 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.2241, allocations: 23.97 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2241, allocations: 3.938 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.2242, allocations: 107.2 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2242, allocations: 0 / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002276/0.2244, allocations: 15.95 kB / 0.7336 GB, free: 11.14 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 (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.0001499/0.2245, allocations: 95.19 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.225, allocations: 111.9 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.225, allocations: 4 kB / 0.7338 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2252, allocations: 60.09 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2255, allocations: 11.98 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.226, allocations: 174.2 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2261, allocations: 71.33 kB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.738e-05/0.2261, allocations: 15.98 kB / 0.7342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.2262, allocations: 23.42 kB / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2262, allocations: 0 / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.004746/0.231, allocations: 1.744 MB / 0.7359 GB, free: 8.805 MB / 0.5606 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.066168170422316] Failed to read output from testmodel.py, exit status != 0: 0.24006822891533375 0.254580693 0.034218883000000005 Calling exit ...