Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.00146/0.00146, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001716/0.001716, allocations: 171.7 kB / 24.84 MB, free: 9.289 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 0.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.6105/0.6105, allocations: 115 MB / 376.8 MB, free: 7.512 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.073e-05, allocations: 3.125 kB / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001441/0.001462, allocations: 0.6929 MB / 483.5 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.003129, allocations: 0.8475 MB / 484.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.003167, allocations: 0.7188 kB / 484.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.003192, allocations: 4.844 kB / 484.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.003262, allocations: 8.5 kB / 484.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.765e-05/0.00332, allocations: 10.95 kB / 484.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.003392, allocations: 51.11 kB / 484.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.003479, allocations: 7.469 kB / 484.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.003555, allocations: 23.2 kB / 484.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.003593, allocations: 16.11 kB / 484.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.00361, allocations: 3.656 kB / 484.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.003618, allocations: 9.5 kB / 484.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.003633, allocations: 5.031 kB / 484.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003652, allocations: 14.83 kB / 484.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.496e-05/0.003727, allocations: 29.58 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00373, allocations: 0 / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00373, allocations: 1.812 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.003734, allocations: 0 / 484.5 MB, free: 10.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002755/0.004009, allocations: 386.1 kB / 484.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004045, allocations: 9.469 kB / 484.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.004071, allocations: 5.281 kB / 484.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.536e-05/0.004136, allocations: 116 kB / 485.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.004146, allocations: 1.781 kB / 485.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.004154, allocations: 2.688 kB / 485.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.004265, allocations: 66.42 kB / 485.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.004271, allocations: 2.125 kB / 485.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004278, allocations: 5.656 kB / 485.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004283, allocations: 384 / 485.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.004306, allocations: 7.844 kB / 485.1 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.004509, allocations: 242.6 kB / 485.4 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.004568, allocations: 35 kB / 485.4 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.00459, allocations: 13.03 kB / 485.4 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.0046, allocations: 8.25 kB / 485.4 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.004615, allocations: 35.86 kB / 485.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.004616, allocations: 0 / 485.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001309/0.004747, allocations: 48.94 kB / 485.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.004769, allocations: 56.78 kB / 485.6 MB, free: 9.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.004819, allocations: 169.7 kB / 485.7 MB, free: 9.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.004824, allocations: 27.67 kB / 485.8 MB, free: 9.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.005022, allocations: 132 kB / 485.9 MB, free: 25.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.005041, allocations: 13.94 kB / 485.9 MB, free: 25.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.005073, allocations: 26.72 kB / 485.9 MB, free: 25.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.005195, allocations: 493.1 kB / 486.4 MB, free: 24.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.005211, allocations: 3.469 kB / 486.4 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.005225, allocations: 9.547 kB / 486.4 MB, free: 24.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.005257, allocations: 16.7 kB / 486.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005259, allocations: 1.438 kB / 486.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.094e-05/0.00533, allocations: 43.17 kB / 486.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.005344, allocations: 5.531 kB / 486.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005348, allocations: 0 / 486.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.005357, allocations: 6.453 kB / 486.5 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.005429, allocations: 7.219 kB / 486.5 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.005432, allocations: 4.25 kB / 486.5 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.005463, allocations: 5.188 kB / 486.5 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.00547, allocations: 9.031 kB / 486.5 MB, free: 24.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.928e-05/0.005539, allocations: 155.2 kB / 486.7 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.005567, allocations: 10.88 kB / 486.7 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.005591, allocations: 12.47 kB / 486.7 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.005594, allocations: 7.219 kB / 486.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005596, allocations: 0 / 486.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005598, allocations: 0 / 486.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.005702, allocations: 102.9 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005703, allocations: 4 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.005745, allocations: 9.094 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.005748, allocations: 3.875 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.005753, allocations: 0.7188 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.005755, allocations: 1.469 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005755, allocations: 0.5938 kB / 486.8 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.005869, allocations: 196.4 kB / 487 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.005877, allocations: 5.953 kB / 487 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.005889, allocations: 5.125 kB / 487 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.005946, allocations: 7.047 kB / 487 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.005977, allocations: 6.906 kB / 487 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.00598, allocations: 0 / 487 MB, free: 24.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.006024, allocations: 127.9 kB / 487.2 MB, free: 24 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006024, allocations: 1.719 kB / 487.2 MB, free: 24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.006169, allocations: 6.656 kB / 487.2 MB, free: 24 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.359e-05/0.006243, allocations: 96.69 kB / 487.3 MB, free: 23.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.006304, allocations: 19.27 kB / 487.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006306, allocations: 1.438 kB / 487.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.006324, allocations: 18.86 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.006506, allocations: 9.375 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.006707, allocations: 136 kB / 487.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.081e-05/0.006728, allocations: 53.64 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.777e-05/0.006746, allocations: 1.188 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.006795, allocations: 79.88 kB / 487.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006795, allocations: 0 / 487.6 MB, free: 23.61 MB / 426.7 MB Notification: Performance of Templates: time 0.0022/0.008995, allocations: 0.8143 MB / 488.4 MB, free: 23.52 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.510815252084285]