Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002436/0.002436, allocations: 283.7 kB / 304.8 MB, free: 3.441 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 180.9 MB / 0.5281 GB, free: 2.012 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002997/0.002997, allocations: 99.83 kB / 0.7283 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5314, allocations: 94.16 MB / 0.8203 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003819/0.5353, allocations: 1.809 MB / 0.8221 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.5368, allocations: 0.6582 MB / 0.8227 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.537, allocations: 1.031 kB / 0.8227 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.083e-05/0.537, allocations: 15.8 kB / 0.8227 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.5371, allocations: 18.36 kB / 0.8227 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.5379, allocations: 163.1 kB / 0.8229 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.5381, allocations: 124.8 kB / 0.823 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.5383, allocations: 48.62 kB / 0.8231 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.5385, allocations: 57.22 kB / 0.8231 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.5386, allocations: 52.62 kB / 0.8232 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.5386, allocations: 14.38 kB / 0.8232 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.5388, allocations: 44.5 kB / 0.8232 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.5388, allocations: 32.8 kB / 0.8232 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.5389, allocations: 53.12 kB / 0.8233 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.5392, allocations: 148.6 kB / 0.8234 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5392, allocations: 1.406 kB / 0.8234 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5392, allocations: 0 / 0.8234 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.5392, allocations: 0 / 0.8234 GB, free: 2.281 MB / 0.5606 GB 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.000797/0.54, allocations: 448.9 kB / 0.8239 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5401, allocations: 9.031 kB / 0.8239 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.5409, allocations: 108 kB / 0.824 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.5411, allocations: 182.6 kB / 0.8242 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.5412, allocations: 71.03 kB / 0.8242 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.5413, allocations: 9.312 kB / 0.8242 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.5418, allocations: 173.7 kB / 0.8244 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5418, allocations: 0 / 0.8244 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.5419, allocations: 9.25 kB / 0.8244 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5419, allocations: 2.562 kB / 0.8244 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.5425, allocations: 155.9 kB / 0.8246 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.5438, allocations: 492.6 kB / 0.825 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009807/0.5447, allocations: 213.5 kB / 0.8252 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.545, allocations: 81.97 kB / 0.8253 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.545, allocations: 1.156 kB / 0.8253 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.5451, allocations: 36.84 kB / 0.8253 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5451, allocations: 0 / 0.8253 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.000991/0.5461, allocations: 262.5 kB / 0.8256 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5461, allocations: 52.78 kB / 0.8256 GB, free: 456 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5463, allocations: 141 kB / 0.8258 GB, free: 332 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.5463, allocations: 25.7 kB / 0.8258 GB, free: 300 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.5464, allocations: 113.7 kB / 0.8259 GB, free: 188 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.5464, allocations: 22.53 kB / 0.8259 GB, free: 168 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.5465, allocations: 28.58 kB / 0.826 GB, free: 140 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5466, allocations: 317.6 kB / 0.8263 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.5469, allocations: 80.97 kB / 0.8263 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.5472, allocations: 90.38 kB / 0.8264 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.5478, allocations: 159.3 kB / 0.8266 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.5478, allocations: 1.375 kB / 0.8266 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006397/0.5484, allocations: 201.4 kB / 0.8268 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5484, allocations: 6.219 kB / 0.8268 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5484, allocations: 3.938 kB / 0.8268 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5485, allocations: 9.609 kB / 0.8268 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.5487, allocations: 42.55 kB / 0.8268 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5487, allocations: 1.438 kB / 0.8268 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.5489, allocations: 24.28 kB / 0.8269 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.5489, allocations: 3.438 kB / 0.8269 GB, free: 15.46 MB / 0.5762 GB 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 0.0001137/0.549, allocations: 122.6 kB / 0.827 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.5491, allocations: 11.33 kB / 0.827 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.5498, allocations: 207.7 kB / 0.8272 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5498, allocations: 1.031 kB / 0.8272 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5498, allocations: 8 kB / 0.8272 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5498, allocations: 0 / 0.8272 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.5501, allocations: 242.8 kB / 0.8274 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5501, allocations: 0 / 0.8274 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5503, allocations: 31.36 kB / 0.8275 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5503, allocations: 5.469 kB / 0.8275 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.5503, allocations: 5.312 kB / 0.8275 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5503, allocations: 0 / 0.8275 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5504, allocations: 0 / 0.8275 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.5511, allocations: 291.3 kB / 0.8277 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.5511, allocations: 83.47 kB / 0.8278 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5511, allocations: 5.312 kB / 0.8278 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.5514, allocations: 27.64 kB / 0.8279 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.5515, allocations: 11.27 kB / 0.8279 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.5515, allocations: 8.016 kB / 0.8279 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.5516, allocations: 106.3 kB / 0.828 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5516, allocations: 0 / 0.828 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002676/0.5519, allocations: 23.11 kB / 0.828 GB, free: 14.48 MB / 0.5762 GB 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 0.0001565/0.552, allocations: 101.1 kB / 0.8281 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006618/0.5527, allocations: 163.1 kB / 0.8282 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5527, allocations: 0 / 0.8282 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.553, allocations: 81.28 kB / 0.8283 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.5534, allocations: 3.969 kB / 0.8283 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.5541, allocations: 285.7 kB / 0.8286 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.5545, allocations: 0.7011 MB / 0.8293 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.931e-05/0.5546, allocations: 18.61 kB / 0.8293 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.5547, allocations: 15.48 kB / 0.8293 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.5547, allocations: 0 / 0.8293 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.004605/0.5593, allocations: 1.509 MB / 0.8308 GB, free: 12.56 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2848327327519655]