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.0009762/0.0009762, allocations: 92.22 kB / 19.65 MB, free: 280 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.00104/0.00104, allocations: 165 kB / 23.02 MB, free: 1.551 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.9895/0.9895, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.002592/0.002592, allocations: 241.1 kB / 260.2 MB, free: 12.8 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 0.8013/0.8013, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.442e-06/1.442e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.172e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002246/0.002267, allocations: 1.823 MB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003326, allocations: 0.7095 MB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.003397, allocations: 4 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.003439, allocations: 11.86 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.003502, allocations: 19.8 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.004, allocations: 183.4 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.004173, allocations: 131.6 kB / 0.5579 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.004325, allocations: 37.61 kB / 0.558 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.004499, allocations: 79.86 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.004585, allocations: 39.81 kB / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.004615, allocations: 12 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.004731, allocations: 51.91 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.00477, allocations: 31.89 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.004816, allocations: 39.84 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.005043, allocations: 139.6 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005046, allocations: 0 / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005047, allocations: 0 / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.005054, allocations: 0 / 0.5583 GB, free: 13.18 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.0005927/0.005647, allocations: 475.8 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.005705, allocations: 8.75 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.006194, allocations: 108.7 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.006397, allocations: 155.8 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.006487, allocations: 119.3 kB / 0.5592 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.006514, allocations: 12.38 kB / 0.5592 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.006795, allocations: 198 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006805, allocations: 0 / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.006822, allocations: 4 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.006832, allocations: 4 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.00693, allocations: 55.88 kB / 0.5594 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.007539, allocations: 421.2 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.007867, allocations: 143 kB / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.007924, allocations: 39.73 kB / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.007952, allocations: 4 kB / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.007986, allocations: 41.39 kB / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.007987, allocations: 0 / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003095/0.008297, allocations: 121.6 kB / 0.5602 GB, free: 11.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.008337, allocations: 55.34 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.008472, allocations: 197.9 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.008495, allocations: 29.7 kB / 0.5604 GB, free: 10.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.008575, allocations: 159 kB / 0.5606 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.008599, allocations: 15.84 kB / 0.5606 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.008654, allocations: 35.36 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.008795, allocations: 0.4962 MB / 0.5611 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.008844, allocations: 27.92 kB / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.008908, allocations: 51.05 kB / 0.5612 GB, free: 10.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.009017, allocations: 79.03 kB / 0.5613 GB, free: 9.922 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.009021, allocations: 256 / 0.5613 GB, free: 9.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001681/0.009189, allocations: 117.5 kB / 0.5614 GB, free: 9.801 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.009204, allocations: 4 kB / 0.5614 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.009212, allocations: 8.062 kB / 0.5614 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.009232, allocations: 3.938 kB / 0.5614 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.00936, allocations: 23.97 kB / 0.5614 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.009369, allocations: 4 kB / 0.5614 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.009436, allocations: 19.88 kB / 0.5614 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.009448, allocations: 8 kB / 0.5615 GB, free: 9.73 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 9.344e-05/0.009541, allocations: 152.6 kB / 0.5616 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.009575, allocations: 15.94 kB / 0.5616 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.009785, allocations: 114.4 kB / 0.5617 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.009789, allocations: 3.938 kB / 0.5617 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.009794, allocations: 0 / 0.5617 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.009799, allocations: 0 / 0.5617 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.009955, allocations: 165.5 kB / 0.5619 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009957, allocations: 0 / 0.5619 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.01003, allocations: 31.95 kB / 0.5619 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.01004, allocations: 0 / 0.5619 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01005, allocations: 7.984 kB / 0.5619 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01005, allocations: 0 / 0.5619 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01005, allocations: 3.938 kB / 0.5619 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.01023, allocations: 247.8 kB / 0.5622 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.01024, allocations: 7.953 kB / 0.5622 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.01025, allocations: 0 / 0.5622 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01036, allocations: 23.97 kB / 0.5622 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.01039, allocations: 4.125 kB / 0.5622 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01041, allocations: 11.98 kB / 0.5622 GB, free: 8.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.862e-05/0.01046, allocations: 149.8 kB / 0.5624 GB, free: 8.742 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01046, allocations: 4 kB / 0.5624 GB, free: 8.738 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.01064, allocations: 31.89 kB / 0.5624 GB, free: 8.707 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 9.947e-05/0.01074, allocations: 95.25 kB / 0.5625 GB, free: 8.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.01092, allocations: 75.59 kB / 0.5625 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01092, allocations: 3.938 kB / 0.5626 GB, free: 8.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.01098, allocations: 43.66 kB / 0.5626 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01121, allocations: 22.91 kB / 0.5626 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.01179, allocations: 229.9 kB / 0.5628 GB, free: 8.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.01184, allocations: 67.2 kB / 0.5629 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.01189, allocations: 19.98 kB / 0.5629 GB, free: 8.098 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.01195, allocations: 12.5 kB / 0.5629 GB, free: 8.086 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01195, allocations: 0 / 0.5629 GB, free: 8.086 MB / 490.7 MB Notification: Performance of Templates: time 0.003435/0.01538, allocations: 1.572 MB / 0.5645 GB, free: 6.535 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: 3.94495468493551]