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.001498/0.001498, allocations: 72.95 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001884/0.001884, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.038/1.038, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.6228/0.6228, allocations: 115 MB / 376 MB, free: 7.434 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 428.8 MB, free: 2.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.697e-05, allocations: 2.312 kB / 428.8 MB, free: 2.703 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001857/0.001894, allocations: 0.7994 MB / 429.6 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002966, allocations: 0.913 MB / 430.5 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.003022, allocations: 4 kB / 430.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.003065, allocations: 7.875 kB / 430.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.003174, allocations: 15.86 kB / 430.5 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.003385, allocations: 35.91 kB / 430.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003496, allocations: 87.81 kB / 430.6 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003625, allocations: 15.98 kB / 430.7 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.003771, allocations: 55.88 kB / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.00385, allocations: 39.88 kB / 430.7 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.003877, allocations: 11.94 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.003891, allocations: 8 kB / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.00392, allocations: 19.92 kB / 430.8 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.003956, allocations: 23.91 kB / 430.8 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004073, allocations: 71.78 kB / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004075, allocations: 0 / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.004076, allocations: 0 / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.00408, allocations: 0 / 430.9 MB, free: 0.5859 MB / 394.7 MB 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.0003546/0.004435, allocations: 280.7 kB / 431.2 MB, free: 296 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.004469, allocations: 8.031 kB / 431.2 MB, free: 288 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.004503, allocations: 8.922 kB / 431.2 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.004598, allocations: 125.6 kB / 431.3 MB, free: 128 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.004619, allocations: 8.375 kB / 431.3 MB, free: 120 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.00463, allocations: 4.375 kB / 431.3 MB, free: 116 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.004789, allocations: 90.89 kB / 431.4 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.004797, allocations: 7.938 kB / 431.4 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.004807, allocations: 4 kB / 431.4 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004812, allocations: 0 / 431.4 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.004871, allocations: 23.98 kB / 431.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.005173, allocations: 200.1 kB / 431.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.005401, allocations: 66.47 kB / 431.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.005433, allocations: 20.83 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.005449, allocations: 4 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005472, allocations: 38.5 kB / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005473, allocations: 0 / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001521/0.005625, allocations: 61.67 kB / 431.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.005656, allocations: 55.41 kB / 431.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.00572, allocations: 126.6 kB / 432 MB, free: 15.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.005734, allocations: 29.7 kB / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.005772, allocations: 100 kB / 432.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.005794, allocations: 19.8 kB / 432.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.005827, allocations: 25.69 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.005906, allocations: 318.8 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.005924, allocations: 4 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.005944, allocations: 15.92 kB / 432.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.005999, allocations: 33.28 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.006002, allocations: 7.938 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.109e-05/0.006073, allocations: 53.67 kB / 432.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.006084, allocations: 8 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006088, allocations: 0 / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.0061, allocations: 4 kB / 432.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.006174, allocations: 23.97 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006177, allocations: 0 / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.006211, allocations: 7.938 kB / 432.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.006218, allocations: 4 kB / 432.6 MB, free: 14.68 MB / 410.7 MB 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 5.586e-05/0.006274, allocations: 113.8 kB / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.006293, allocations: 8 kB / 432.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.006316, allocations: 16.44 kB / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006318, allocations: 0 / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006319, allocations: 0 / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006322, allocations: 0 / 432.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.006422, allocations: 93.8 kB / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006423, allocations: 0 / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.006473, allocations: 15.98 kB / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.006477, allocations: 7.938 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.006484, allocations: 7.984 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006485, allocations: 0 / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006486, allocations: 0 / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.006597, allocations: 155.5 kB / 433 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.006609, allocations: 15.83 kB / 433.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006619, allocations: 0 / 433.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.006669, allocations: 15.98 kB / 433.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.006725, allocations: 23.91 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.00673, allocations: 4 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.669e-05/0.006746, allocations: 20.83 kB / 433.1 MB, free: 14.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006746, allocations: 0 / 433.1 MB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001208/0.006867, allocations: 16 kB / 433.1 MB, free: 14.12 MB / 410.7 MB 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 7.737e-05/0.006945, allocations: 76.42 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.007027, allocations: 36.78 kB / 433.2 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007029, allocations: 0 / 433.2 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.007069, allocations: 32.83 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.007209, allocations: 11.98 kB / 433.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.007468, allocations: 169.1 kB / 433.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.007513, allocations: 63.2 kB / 433.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.007555, allocations: 19.92 kB / 433.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.007634, allocations: 67.36 kB / 433.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007635, allocations: 0 / 433.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of Templates: time 0.002903/0.01054, allocations: 1.689 MB / 435.3 MB, free: 11.91 MB / 410.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3526718439534307]