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.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.001839/0.001839, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001966/0.001966, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003236/0.003236, allocations: 234.3 kB / 259.8 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.167/1.167, allocations: 138.4 MB / 454.7 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 1.974e-06/1.974e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.883e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003546/0.003575, allocations: 1.788 MB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.00501, allocations: 0.6979 MB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.005087, allocations: 0 / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.005134, allocations: 15.86 kB / 0.5568 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.005227, allocations: 19.75 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.005839, allocations: 187.5 kB / 0.557 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.006067, allocations: 139.5 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.006216, allocations: 33.61 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.006432, allocations: 79.86 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.00652, allocations: 35.89 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.006555, allocations: 8 kB / 0.5573 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.006688, allocations: 51.95 kB / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.006732, allocations: 27.89 kB / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.006794, allocations: 39.91 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.007105, allocations: 171.4 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.007109, allocations: 0 / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00711, allocations: 4 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.007115, allocations: 0 / 0.5575 GB, free: 13.54 MB / 490.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.0007396/0.007854, allocations: 479.5 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.007895, allocations: 12.75 kB / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.008783, allocations: 104.7 kB / 0.5581 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.009072, allocations: 157 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.009208, allocations: 115.4 kB / 0.5584 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.00924, allocations: 12.38 kB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.009743, allocations: 205.3 kB / 0.5586 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.009754, allocations: 3.938 kB / 0.5586 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.009777, allocations: 4 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.009785, allocations: 4 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.01027, allocations: 135.8 kB / 0.5587 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01137, allocations: 450.2 kB / 0.5592 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.01218, allocations: 186.9 kB / 0.5593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.01241, allocations: 71.77 kB / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.01244, allocations: 7.984 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.01248, allocations: 33.39 kB / 0.5594 GB, free: 11.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01248, allocations: 0 / 0.5594 GB, free: 11.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008507/0.01333, allocations: 229.5 kB / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.01338, allocations: 59.34 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.01357, allocations: 208.5 kB / 0.5599 GB, free: 10.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.01361, allocations: 29.7 kB / 0.5599 GB, free: 10.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01373, allocations: 166.9 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.01376, allocations: 15.91 kB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.01383, allocations: 35.36 kB / 0.5602 GB, free: 10.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002897/0.01412, allocations: 0.4962 MB / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.01435, allocations: 59.95 kB / 0.5607 GB, free: 10.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01461, allocations: 99 kB / 0.5608 GB, free: 9.984 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.01506, allocations: 147 kB / 0.5609 GB, free: 9.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01507, allocations: 0 / 0.5609 GB, free: 9.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005439/0.01561, allocations: 181.5 kB / 0.5611 GB, free: 9.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01562, allocations: 4 kB / 0.5611 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01563, allocations: 0 / 0.5611 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01565, allocations: 12 kB / 0.5611 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.01588, allocations: 32.16 kB / 0.5611 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01589, allocations: 4 kB / 0.5612 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.01604, allocations: 27.91 kB / 0.5612 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.01606, allocations: 4 kB / 0.5612 GB, free: 9.562 MB / 490.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 0.0001426/0.0162, allocations: 160.6 kB / 0.5613 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.01625, allocations: 7.953 kB / 0.5613 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.01685, allocations: 182.3 kB / 0.5615 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.01686, allocations: 7.938 kB / 0.5615 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01686, allocations: 0 / 0.5615 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.01687, allocations: 7.922 kB / 0.5615 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.01714, allocations: 177.5 kB / 0.5617 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01714, allocations: 0 / 0.5617 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.01733, allocations: 27.97 kB / 0.5617 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01733, allocations: 0 / 0.5617 GB, free: 8.949 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.01735, allocations: 4 kB / 0.5617 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01735, allocations: 0 / 0.5617 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01735, allocations: 3.938 kB / 0.5617 GB, free: 8.941 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.01798, allocations: 315.8 kB / 0.562 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.018, allocations: 7.953 kB / 0.562 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.01802, allocations: 8 kB / 0.5621 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.01825, allocations: 19.97 kB / 0.5621 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.0183, allocations: 3.938 kB / 0.5621 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.01832, allocations: 11.92 kB / 0.5621 GB, free: 8.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.01844, allocations: 159.2 kB / 0.5622 GB, free: 8.406 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01844, allocations: 0 / 0.5622 GB, free: 8.406 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.01872, allocations: 27.89 kB / 0.5623 GB, free: 8.379 MB / 490.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 0.0001558/0.01888, allocations: 95.25 kB / 0.5624 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.01942, allocations: 155.5 kB / 0.5625 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01942, allocations: 0 / 0.5625 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.01967, allocations: 75.89 kB / 0.5626 GB, free: 8.039 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01997, allocations: 22.92 kB / 0.5626 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009569/0.02093, allocations: 269.8 kB / 0.5629 GB, free: 7.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.02104, allocations: 91.98 kB / 0.5629 GB, free: 7.625 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.02113, allocations: 16 kB / 0.563 GB, free: 7.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.02121, allocations: 24.42 kB / 0.563 GB, free: 7.586 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02121, allocations: 0 / 0.563 GB, free: 7.586 MB / 490.7 MB Notification: Performance of Templates: time 0.005223/0.02643, allocations: 1.556 MB / 0.5645 GB, free: 6.047 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.848436893080361]