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.001221/0.001221, allocations: 103.2 kB / 16.36 MB, free: 6.348 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.001093/0.001093, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.59/1.59, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.00153/0.00153, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.316, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003475/0.3195, allocations: 1.769 MB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3208, allocations: 0.699 MB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.3209, allocations: 4 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.321, allocations: 7.875 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.3211, allocations: 23.78 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.3217, allocations: 164.3 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3219, allocations: 123.6 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.322, allocations: 49.08 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3222, allocations: 59.83 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.3223, allocations: 51.77 kB / 0.7877 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.3223, allocations: 15.94 kB / 0.7877 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3224, allocations: 43.97 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.3225, allocations: 31.89 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.3226, allocations: 51.73 kB / 0.7878 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3673/0.6899, allocations: 151.1 kB / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.69, allocations: 0 / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.454e-06/0.69, allocations: 0 / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.69, allocations: 2.125 kB / 0.7879 GB, free: 46.74 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.0005823/0.6906, allocations: 441.2 kB / 0.7884 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.6906, allocations: 10.5 kB / 0.7884 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.6915, allocations: 109.4 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.897e-05/0.6916, allocations: 184.2 kB / 0.7886 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.724e-05/0.6917, allocations: 62.83 kB / 0.7887 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.6917, allocations: 9.312 kB / 0.7887 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.6922, allocations: 172.2 kB / 0.7889 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6923, allocations: 1.219 kB / 0.7889 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.6923, allocations: 7.062 kB / 0.7889 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.6923, allocations: 2 kB / 0.7889 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.6929, allocations: 162.4 kB / 0.789 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.6939, allocations: 481.3 kB / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/0.6949, allocations: 227.7 kB / 0.7897 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.6952, allocations: 76.62 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.6953, allocations: 6.219 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.6953, allocations: 32.59 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.582e-06/0.6953, allocations: 2.688 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.001006/0.6963, allocations: 267.9 kB / 0.7901 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.6963, allocations: 57.75 kB / 0.7901 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.6964, allocations: 139 kB / 0.7903 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6965, allocations: 27.11 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.6965, allocations: 109.5 kB / 0.7904 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.6965, allocations: 21.64 kB / 0.7904 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.6966, allocations: 24.06 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.6967, allocations: 318.6 kB / 0.7908 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.697, allocations: 74.16 kB / 0.7908 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.6973, allocations: 97.52 kB / 0.7909 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.6978, allocations: 168.6 kB / 0.7911 GB, free: 45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6979, allocations: 1.938 kB / 0.7911 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000629/0.6985, allocations: 198.5 kB / 0.7913 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6985, allocations: 7.719 kB / 0.7913 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6985, allocations: 0 / 0.7913 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6986, allocations: 4.875 kB / 0.7913 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.6988, allocations: 43.31 kB / 0.7913 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6988, allocations: 1.125 kB / 0.7913 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.699, allocations: 28.44 kB / 0.7914 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.6991, allocations: 2.594 kB / 0.7914 GB, free: 44.96 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.633e-05/0.6991, allocations: 124.7 kB / 0.7915 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.6992, allocations: 10.09 kB / 0.7915 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.6999, allocations: 207.8 kB / 0.7917 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6999, allocations: 3.938 kB / 0.7917 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6999, allocations: 0 / 0.7917 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6999, allocations: 0 / 0.7917 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.7001, allocations: 234.5 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7001, allocations: 0 / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.7004, allocations: 33.08 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7004, allocations: 2.719 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7004, allocations: 1.156 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7004, allocations: 7.469 kB / 0.7919 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7004, allocations: 0 / 0.7919 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.701, allocations: 290.9 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.7011, allocations: 87.33 kB / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.7011, allocations: 3.25 kB / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.7014, allocations: 34.55 kB / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.7014, allocations: 2.719 kB / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.7015, allocations: 17.69 kB / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.7015, allocations: 102.5 kB / 0.7925 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7015, allocations: 0 / 0.7925 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002703/0.7018, allocations: 23.5 kB / 0.7925 GB, free: 44.3 MB / 0.6544 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.0001132/0.7019, allocations: 101.4 kB / 0.7926 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006306/0.7025, allocations: 168.3 kB / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7026, allocations: 0 / 0.7927 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.7029, allocations: 79.38 kB / 0.7928 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.7032, allocations: 14.78 kB / 0.7928 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006432/0.7039, allocations: 282.1 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.704, allocations: 0.6985 MB / 0.7938 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.7041, allocations: 21.33 kB / 0.7938 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7041, allocations: 1.5 kB / 0.7938 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.003006/0.7071, allocations: 1.599 MB / 0.7954 GB, free: 43.26 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)