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.001083/0.001083, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001144/0.001144, allocations: 165 kB / 23.8 MB, free: 0.7695 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.084/1.084, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6183/0.6183, allocations: 115 MB / 375.7 MB, free: 7.672 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.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.573e-06/1.573e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.543e-05, allocations: 2.812 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002252/0.002278, allocations: 1.823 MB / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.003237, allocations: 0.7154 MB / 484.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.003307, allocations: 2.219 kB / 484.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.003348, allocations: 15.89 kB / 484.1 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.003412, allocations: 15.55 kB / 484.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.003925, allocations: 186.6 kB / 484.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.004099, allocations: 129.3 kB / 484.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.004239, allocations: 36.69 kB / 484.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.004418, allocations: 87.91 kB / 484.5 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.004503, allocations: 34.27 kB / 484.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.004533, allocations: 10.31 kB / 484.6 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.004646, allocations: 50.47 kB / 484.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.004674, allocations: 37.05 kB / 484.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.004716, allocations: 36.81 kB / 484.7 MB, free: 9.898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.004934, allocations: 144.8 kB / 484.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.004937, allocations: 0 / 484.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004938, allocations: 0 / 484.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.004944, allocations: 5.922 kB / 484.8 MB, free: 9.832 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000495/0.005439, allocations: 465.7 kB / 485.3 MB, free: 9.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.005486, allocations: 10.06 kB / 485.3 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.005943, allocations: 104.8 kB / 485.4 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.006126, allocations: 157.4 kB / 485.5 MB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.006191, allocations: 117.5 kB / 485.7 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.006213, allocations: 12.22 kB / 485.7 MB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.006491, allocations: 195.8 kB / 485.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.0065, allocations: 1.281 kB / 485.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.006517, allocations: 1.438 kB / 485.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.006524, allocations: 1.438 kB / 485.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.006624, allocations: 69.06 kB / 485.9 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.007197, allocations: 418.8 kB / 486.3 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.007524, allocations: 143.1 kB / 486.5 MB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.007572, allocations: 37.36 kB / 486.5 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.007595, allocations: 1.875 kB / 486.5 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.007619, allocations: 41.39 kB / 486.6 MB, free: 8.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.375e-06/0.007621, allocations: 2.969 kB / 486.6 MB, free: 8.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003106/0.007932, allocations: 118.2 kB / 486.7 MB, free: 8.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.007959, allocations: 56.53 kB / 486.7 MB, free: 8.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.008054, allocations: 199.3 kB / 486.9 MB, free: 8.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008069, allocations: 32.17 kB / 487 MB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.008123, allocations: 162.8 kB / 487.1 MB, free: 8.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.008147, allocations: 18.52 kB / 487.1 MB, free: 8.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.008191, allocations: 30.31 kB / 487.2 MB, free: 8.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003252/0.008517, allocations: 0.4909 MB / 487.7 MB, free: 23.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.008578, allocations: 28.34 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.008638, allocations: 56.55 kB / 487.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.008745, allocations: 77.62 kB / 487.8 MB, free: 23.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.008748, allocations: 5.5 kB / 487.8 MB, free: 23.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001546/0.008903, allocations: 111.8 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.008919, allocations: 8.547 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008925, allocations: 1.188 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.00894, allocations: 5.125 kB / 487.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.009062, allocations: 27.67 kB / 488 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.009068, allocations: 1.219 kB / 488 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.009128, allocations: 15.67 kB / 488 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.00914, allocations: 2.031 kB / 488 MB, free: 23.35 MB / 426.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 8.325e-05/0.009223, allocations: 164.2 kB / 488.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.009253, allocations: 9.172 kB / 488.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.009445, allocations: 110.7 kB / 488.3 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009448, allocations: 6.188 kB / 488.3 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009452, allocations: 0 / 488.3 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009455, allocations: 0 / 488.3 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.00959, allocations: 180.5 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.009592, allocations: 1.469 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.009673, allocations: 21.38 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009675, allocations: 1.719 kB / 488.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.009687, allocations: 12.7 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009689, allocations: 1.188 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.009691, allocations: 4.094 kB / 488.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.009877, allocations: 238.7 kB / 488.7 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.009888, allocations: 14.44 kB / 488.7 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.009905, allocations: 1.875 kB / 488.7 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.009999, allocations: 24.08 kB / 488.8 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.01004, allocations: 8.938 kB / 488.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01005, allocations: 6.922 kB / 488.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.01011, allocations: 144.6 kB / 488.9 MB, free: 22.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01011, allocations: 1.938 kB / 488.9 MB, free: 22.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.01028, allocations: 27.33 kB / 489 MB, free: 22.59 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 (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 9.961e-05/0.01038, allocations: 102.4 kB / 489.1 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01054, allocations: 78 kB / 489.1 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01054, allocations: 0 / 489.1 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.0106, allocations: 47.67 kB / 489.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01081, allocations: 19.5 kB / 489.2 MB, free: 22.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.01136, allocations: 235.7 kB / 489.4 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.0114, allocations: 67.45 kB / 489.5 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.01146, allocations: 16.86 kB / 489.5 MB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.01151, allocations: 16.83 kB / 489.5 MB, free: 22.19 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01151, allocations: 1.438 kB / 489.5 MB, free: 22.19 MB / 426.7 MB Notification: Performance of Templates: time 0.003577/0.01509, allocations: 1.692 MB / 491.2 MB, free: 22.05 MB / 426.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.6552645759657025]