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.001381/0.001381, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001634/0.001634, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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.05/1.05, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6441/0.6441, allocations: 115 MB / 375.7 MB, free: 7.621 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 3.206e-06/3.206e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/3.084e-05, allocations: 4.422 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001993/0.002024, allocations: 0.7654 MB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003183, allocations: 0.9077 MB / 483.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.003236, allocations: 2.25 kB / 483.2 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.003273, allocations: 7.875 kB / 483.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.003369, allocations: 10.91 kB / 483.2 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.003571, allocations: 45.91 kB / 483.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.003693, allocations: 79.72 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.003827, allocations: 20.02 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.003951, allocations: 54.17 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.00404, allocations: 42.56 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.004075, allocations: 9.406 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.004093, allocations: 7.938 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.004124, allocations: 21.81 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.004165, allocations: 22.27 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004304, allocations: 64.53 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004307, allocations: 1.5 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004308, allocations: 1.125 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.004313, allocations: 0 / 483.6 MB, free: 10.6 MB / 410.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.0005045/0.004818, allocations: 409.9 kB / 484 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.004866, allocations: 9.062 kB / 484 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.004927, allocations: 15.33 kB / 484 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.00503, allocations: 132 kB / 484.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.005057, allocations: 4.375 kB / 484.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.005078, allocations: 7.375 kB / 484.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.005309, allocations: 93.27 kB / 484.2 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.005321, allocations: 4.75 kB / 484.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.005336, allocations: 4 kB / 484.2 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.005346, allocations: 3.406 kB / 484.2 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.005448, allocations: 31.55 kB / 484.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.005927, allocations: 315.5 kB / 484.6 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.006339, allocations: 82.06 kB / 484.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.006409, allocations: 27.09 kB / 484.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.006434, allocations: 2.438 kB / 484.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.006457, allocations: 38.53 kB / 484.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.00646, allocations: 5.375 kB / 484.7 MB, free: 9.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003109/0.006771, allocations: 84.36 kB / 484.8 MB, free: 9.535 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.006798, allocations: 52.94 kB / 484.9 MB, free: 9.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.007122, allocations: 183.4 kB / 485 MB, free: 25.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.007134, allocations: 30.83 kB / 485.1 MB, free: 25.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.007192, allocations: 140.7 kB / 485.2 MB, free: 25.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.007219, allocations: 27.11 kB / 485.2 MB, free: 25.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.007268, allocations: 25.62 kB / 485.3 MB, free: 25.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.007396, allocations: 0.4943 MB / 485.8 MB, free: 24.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.007445, allocations: 11.27 kB / 485.8 MB, free: 24.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.007488, allocations: 12.64 kB / 485.8 MB, free: 24.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.007591, allocations: 40.45 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007594, allocations: 2 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001606/0.007754, allocations: 72.89 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.007772, allocations: 5 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.007777, allocations: 3.938 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.007797, allocations: 1.938 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.007924, allocations: 16.59 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007931, allocations: 1.062 kB / 485.9 MB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.007992, allocations: 12.41 kB / 485.9 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.008003, allocations: 2.406 kB / 485.9 MB, free: 24.5 MB / 426.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 8.348e-05/0.008087, allocations: 166.2 kB / 486.1 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.008123, allocations: 9.141 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.008155, allocations: 11 kB / 486.1 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008158, allocations: 0 / 486.1 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008162, allocations: 1.906 kB / 486.1 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008166, allocations: 0 / 486.1 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.008313, allocations: 146.5 kB / 486.3 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.008315, allocations: 3.422 kB / 486.3 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.008413, allocations: 21.23 kB / 486.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.008421, allocations: 1.031 kB / 486.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.008433, allocations: 5.281 kB / 486.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.008436, allocations: 2.438 kB / 486.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.008437, allocations: 0 / 486.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.008666, allocations: 232.6 kB / 486.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.008682, allocations: 11.33 kB / 486.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.008703, allocations: 1.344 kB / 486.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.008802, allocations: 9.281 kB / 486.5 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.008892, allocations: 19.09 kB / 486.6 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.008905, allocations: 9.625 kB / 486.6 MB, free: 23.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.008974, allocations: 131.9 kB / 486.7 MB, free: 23.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008974, allocations: 0.9062 kB / 486.7 MB, free: 23.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.009247, allocations: 20.47 kB / 486.7 MB, free: 23.81 MB / 426.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 0.0001354/0.009382, allocations: 98.41 kB / 486.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.009558, allocations: 47.44 kB / 486.9 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.00956, allocations: 2.781 kB / 486.9 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.009639, allocations: 41.36 kB / 486.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.009971, allocations: 20.23 kB / 486.9 MB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.0104, allocations: 176.2 kB / 487.1 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.01045, allocations: 64.45 kB / 487.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.01051, allocations: 9.438 kB / 487.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.01058, allocations: 21.69 kB / 487.2 MB, free: 23.44 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01058, allocations: 0 / 487.2 MB, free: 23.44 MB / 426.7 MB Notification: Performance of Templates: time 0.003587/0.01417, allocations: 1.717 MB / 488.9 MB, free: 23.33 MB / 426.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8391747009009123]