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.001079/0.001079, allocations: 106.8 kB / 16.35 MB, free: 5.879 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.001013/0.001013, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001521/0.001522, allocations: 71.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2586, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003099/0.2618, allocations: 1.763 MB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.263, allocations: 0.6914 MB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.263, allocations: 4 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.2631, allocations: 15.8 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.2632, allocations: 15.8 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.2637, allocations: 178.5 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.2639, allocations: 119.7 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2641, allocations: 49.09 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2642, allocations: 55.83 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-05/0.2643, allocations: 55.7 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2643, allocations: 8 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2645, allocations: 43.97 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.2645, allocations: 35.89 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2646, allocations: 51.72 kB / 0.7878 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4232/0.6878, allocations: 150.8 kB / 0.7879 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6879, allocations: 1.375 kB / 0.7879 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6879, allocations: 2 kB / 0.7879 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.6879, allocations: 0 / 0.7879 GB, free: 46.83 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.0006178/0.6885, allocations: 439.2 kB / 0.7883 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6886, allocations: 10.78 kB / 0.7884 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/0.6894, allocations: 109.8 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.6895, allocations: 187.4 kB / 0.7886 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.6896, allocations: 60.53 kB / 0.7887 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.6896, allocations: 10.72 kB / 0.7887 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.6901, allocations: 170.7 kB / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6901, allocations: 0 / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.6901, allocations: 4.594 kB / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.6901, allocations: 3.219 kB / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.6907, allocations: 157.2 kB / 0.789 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.6916, allocations: 490.9 kB / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.6925, allocations: 218.4 kB / 0.7897 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.6927, allocations: 85.05 kB / 0.7898 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.6928, allocations: 4.625 kB / 0.7898 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.6928, allocations: 33.94 kB / 0.7898 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6928, allocations: 0 / 0.7898 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0008866/0.6937, allocations: 263.7 kB / 0.7901 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.6937, allocations: 57.88 kB / 0.7901 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.6938, allocations: 143 kB / 0.7903 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.6939, allocations: 29.42 kB / 0.7903 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.6939, allocations: 110.7 kB / 0.7904 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.6939, allocations: 20.23 kB / 0.7904 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.694, allocations: 23.12 kB / 0.7904 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.694, allocations: 322.5 kB / 0.7907 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.6943, allocations: 77.72 kB / 0.7908 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.6946, allocations: 89.52 kB / 0.7909 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.6951, allocations: 163.8 kB / 0.7911 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6951, allocations: 3.406 kB / 0.7911 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005737/0.6957, allocations: 206.4 kB / 0.7913 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6957, allocations: 9.125 kB / 0.7913 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6957, allocations: 4.219 kB / 0.7913 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6957, allocations: 3.938 kB / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.696, allocations: 40.44 kB / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.696, allocations: 0 / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.6962, allocations: 29.12 kB / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.6962, allocations: 6.812 kB / 0.7913 GB, free: 45.05 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.489e-05/0.6963, allocations: 115.8 kB / 0.7915 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.6963, allocations: 10.59 kB / 0.7915 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006061/0.697, allocations: 202 kB / 0.7917 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.697, allocations: 9.562 kB / 0.7917 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.697, allocations: 0 / 0.7917 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.697, allocations: 0 / 0.7917 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.6972, allocations: 239.6 kB / 0.7919 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6972, allocations: 2.281 kB / 0.7919 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6974, allocations: 30.86 kB / 0.7919 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6974, allocations: 2.625 kB / 0.7919 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6974, allocations: 0 / 0.7919 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6974, allocations: 8.656 kB / 0.7919 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6974, allocations: 3.844 kB / 0.7919 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.698, allocations: 285.2 kB / 0.7922 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.698, allocations: 87.69 kB / 0.7923 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.6981, allocations: 0 / 0.7923 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.6983, allocations: 38.7 kB / 0.7923 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.6984, allocations: 5.859 kB / 0.7923 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.6984, allocations: 9.984 kB / 0.7924 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.6985, allocations: 103.1 kB / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6985, allocations: 0 / 0.7924 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002469/0.6987, allocations: 24.62 kB / 0.7925 GB, free: 44.39 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 9.9e-05/0.6988, allocations: 102 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005775/0.6994, allocations: 172.2 kB / 0.7927 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6994, allocations: 0 / 0.7927 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.6997, allocations: 84.69 kB / 0.7928 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.7, allocations: 8.438 kB / 0.7928 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.7006, allocations: 245 kB / 0.7931 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7007, allocations: 0.7108 MB / 0.7938 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.7008, allocations: 14.34 kB / 0.7938 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.7008, allocations: 14.12 kB / 0.7938 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.7008, allocations: 0.75 kB / 0.7938 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.003365/0.7042, allocations: 1.467 MB / 0.7952 GB, free: 43.39 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)