Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 106.4 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.222, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003316/0.2253, allocations: 1.778 MB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2266, allocations: 0.6991 MB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.2267, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.2268, allocations: 7.875 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.2269, allocations: 27.78 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.2275, allocations: 164.6 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2277, allocations: 123.7 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2278, allocations: 45.09 kB / 0.7876 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.228, allocations: 63.77 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.2281, allocations: 55.7 kB / 0.7877 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.2281, allocations: 8 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2282, allocations: 43.97 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.2283, allocations: 31.91 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.2283, allocations: 55.7 kB / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3656/0.5939, allocations: 147.9 kB / 0.7879 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.594, allocations: 0 / 0.7879 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.594, allocations: 0 / 0.7879 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.594, allocations: 0 / 0.7879 GB, free: 46.87 MB / 0.6544 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.0005806/0.5946, allocations: 436.8 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5946, allocations: 9.281 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.5955, allocations: 112.4 kB / 0.7885 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.5956, allocations: 186.4 kB / 0.7886 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.5957, allocations: 63.05 kB / 0.7887 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.5957, allocations: 8.625 kB / 0.7887 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.5962, allocations: 172.3 kB / 0.7889 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5962, allocations: 0 / 0.7889 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.5962, allocations: 3.938 kB / 0.7889 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5963, allocations: 6.047 kB / 0.7889 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.5968, allocations: 155.2 kB / 0.789 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.5978, allocations: 487 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/0.5987, allocations: 223.6 kB / 0.7897 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.599, allocations: 86.95 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.5991, allocations: 1.328 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.5991, allocations: 34.03 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5991, allocations: 2.875 kB / 0.7898 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0009428/0.6, allocations: 262.4 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.6001, allocations: 54.97 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.6002, allocations: 136.1 kB / 0.7903 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.6002, allocations: 30.14 kB / 0.7903 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.6003, allocations: 109.4 kB / 0.7904 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.6003, allocations: 20.22 kB / 0.7904 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.6003, allocations: 28.11 kB / 0.7904 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.6004, allocations: 320.6 kB / 0.7908 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.6007, allocations: 76.97 kB / 0.7908 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.601, allocations: 93.95 kB / 0.7909 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.6016, allocations: 170.8 kB / 0.7911 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6016, allocations: 0 / 0.7911 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006393/0.6022, allocations: 204.7 kB / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6022, allocations: 5.719 kB / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.6022, allocations: 0 / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6023, allocations: 6.188 kB / 0.7913 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.6025, allocations: 39.05 kB / 0.7913 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.6025, allocations: 2.844 kB / 0.7913 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.6027, allocations: 24.91 kB / 0.7913 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.6027, allocations: 5.172 kB / 0.7914 GB, free: 45.09 MB / 0.6544 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 7.663e-05/0.6028, allocations: 121.1 kB / 0.7915 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.6029, allocations: 12.14 kB / 0.7915 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.6035, allocations: 206.6 kB / 0.7917 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6036, allocations: 3.938 kB / 0.7917 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6036, allocations: 0 / 0.7917 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.6036, allocations: 83.64 kB / 0.7918 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.6036, allocations: 2.625 kB / 0.7918 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.6039, allocations: 28.55 kB / 0.7918 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.604, allocations: 9.25 kB / 0.7918 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007897/0.6048, allocations: 288.4 kB / 0.7921 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006521/0.6054, allocations: 363.6 kB / 0.7924 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002965/0.6057, allocations: 82.83 kB / 0.7925 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.6058, allocations: 110.9 kB / 0.7926 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of Backend: time 5.81e-07/0.6058, allocations: 0 / 0.7926 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007442/0.6065, allocations: 175 kB / 0.7928 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006067/0.6072, allocations: 0.6517 MB / 0.7934 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.004781/0.612, allocations: 2.266 MB / 0.7956 GB, free: 43.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)