Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.00103/0.00103, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002499, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001444/0.001444, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.003192, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.102/1.102, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09032/1.192, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6396/0.6396, allocations: 120.1 MB / 364.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07508/0.7147, allocations: 38.14 MB / 402.4 MB, free: 12.3 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.864e-06/9.156e-06, allocations: 2.312 kB / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001902/0.001911, allocations: 1.87 MB / 405.6 MB, free: 9.055 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.002887, allocations: 0.7281 MB / 406.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.002952, allocations: 0 / 406.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.002984, allocations: 7.875 kB / 406.3 MB, free: 8.312 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.003031, allocations: 27.73 kB / 406.4 MB, free: 8.285 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.003408, allocations: 167.5 kB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003555, allocations: 127.6 kB / 406.7 MB, free: 7.996 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.003666, allocations: 38.16 kB / 406.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.003829, allocations: 103.8 kB / 406.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.003898, allocations: 35.89 kB / 406.8 MB, free: 7.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003919, allocations: 12 kB / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.004035, allocations: 55.89 kB / 406.9 MB, free: 7.754 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.004059, allocations: 19.94 kB / 406.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.004086, allocations: 27.88 kB / 406.9 MB, free: 7.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004237, allocations: 115.6 kB / 407.1 MB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.004248, allocations: 3.938 kB / 407.1 MB, free: 7.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004248, allocations: 0 / 407.1 MB, free: 7.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.004257, allocations: 0 / 407.1 MB, free: 7.59 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000626/0.004883, allocations: 367.9 kB / 407.4 MB, free: 7.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.004911, allocations: 12.02 kB / 407.4 MB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.005332, allocations: 169.9 kB / 407.6 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.005492, allocations: 150.1 kB / 407.7 MB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.005551, allocations: 111.4 kB / 407.9 MB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.005573, allocations: 16.38 kB / 407.9 MB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.005772, allocations: 182 kB / 408 MB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.005778, allocations: 0 / 408 MB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.005792, allocations: 8 kB / 408.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.005796, allocations: 0 / 408.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.005845, allocations: 35.98 kB / 408.1 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.006269, allocations: 287.8 kB / 408.4 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.006499, allocations: 118.4 kB / 408.5 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.006528, allocations: 24.98 kB / 408.5 MB, free: 6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.006545, allocations: 7.984 kB / 408.5 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.006564, allocations: 34.56 kB / 408.6 MB, free: 5.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.006565, allocations: 0 / 408.6 MB, free: 5.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001526/0.006718, allocations: 85.67 kB / 408.6 MB, free: 5.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.006741, allocations: 55.34 kB / 408.7 MB, free: 5.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.006812, allocations: 150.6 kB / 408.8 MB, free: 5.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.006829, allocations: 25.7 kB / 408.9 MB, free: 5.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.006868, allocations: 108.2 kB / 409 MB, free: 5.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.006884, allocations: 15.86 kB / 409 MB, free: 5.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.006919, allocations: 25.69 kB / 409 MB, free: 5.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.006987, allocations: 322.8 kB / 409.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.007014, allocations: 27.92 kB / 409.4 MB, free: 5.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.007049, allocations: 30.58 kB / 409.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/0.007113, allocations: 62.47 kB / 409.4 MB, free: 4.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.007114, allocations: 0 / 409.4 MB, free: 4.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.66e-05/0.007201, allocations: 81.86 kB / 409.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.007213, allocations: 11.91 kB / 409.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.007217, allocations: 0 / 409.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.007225, allocations: 0 / 409.5 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.007329, allocations: 40.02 kB / 409.6 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.007334, allocations: 7.938 kB / 409.6 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.007392, allocations: 15.92 kB / 409.6 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.0074, allocations: 0 / 409.6 MB, free: 4.824 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.062e-05/0.007461, allocations: 113.8 kB / 409.7 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.007483, allocations: 11.92 kB / 409.7 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.007601, allocations: 86.42 kB / 409.8 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007603, allocations: 0 / 409.8 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007605, allocations: 7.938 kB / 409.8 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007608, allocations: 0 / 409.8 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.00772, allocations: 105.8 kB / 409.9 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007721, allocations: 0 / 409.9 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.007794, allocations: 27.95 kB / 409.9 MB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.007802, allocations: 7.953 kB / 410 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.007803, allocations: 0 / 410 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007809, allocations: 0 / 410 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.00781, allocations: 4 kB / 410 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007811, allocations: 4 kB / 410 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.007917, allocations: 171.4 kB / 410.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.007929, allocations: 0 / 410.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.008013, allocations: 23.97 kB / 410.2 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.008038, allocations: 3.984 kB / 410.2 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.008048, allocations: 4.188 kB / 410.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.008075, allocations: 33.5 kB / 410.2 MB, free: 4.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008075, allocations: 0 / 410.2 MB, free: 4.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.008214, allocations: 31.94 kB / 410.2 MB, free: 4.145 MB / 394.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 (6): * Single equations (assignments): 6 * 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 6.357e-05/0.008277, allocations: 76.42 kB / 410.3 MB, free: 4.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.008381, allocations: 64.72 kB / 410.4 MB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.008386, allocations: 0 / 410.4 MB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.008428, allocations: 36.83 kB / 410.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008597, allocations: 83.36 kB / 410.5 MB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.009321, allocations: 221.1 kB / 410.7 MB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.009362, allocations: 63.34 kB / 410.8 MB, free: 3.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.009418, allocations: 12 kB / 410.8 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.009562, allocations: 87.3 kB / 410.9 MB, free: 3.441 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.009563, allocations: 3.938 kB / 410.9 MB, free: 3.438 MB / 394.7 MB Notification: Performance of Templates: time 0.002992/0.01256, allocations: 1.717 MB / 412.6 MB, free: 1.711 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3576725209131837]