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.001194/0.001194, allocations: 101.3 kB / 16.27 MB, free: 6.418 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.00114/0.00114, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.824/1.824, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001442/0.001442, allocations: 71.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003486/0.2549, allocations: 1.766 MB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2562, allocations: 0.7029 MB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.2562, allocations: 4 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.2563, allocations: 11.86 kB / 0.7864 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.2564, allocations: 15.81 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.257, allocations: 167.5 kB / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.2572, allocations: 123.7 kB / 0.7867 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2573, allocations: 49.08 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.2575, allocations: 63.77 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.2576, allocations: 47.77 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.2577, allocations: 15.94 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2578, allocations: 55.95 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.2578, allocations: 27.86 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.2579, allocations: 55.7 kB / 0.787 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.2581, allocations: 139.8 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2582, allocations: 4 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2582, allocations: 4 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2582, allocations: 0 / 0.7872 GB, free: 0.5977 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.0006634/0.2588, allocations: 439 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2589, allocations: 8.031 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008719/0.2598, allocations: 108.7 kB / 0.7877 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3383/0.5981, allocations: 181.3 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.5983, allocations: 59.47 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.5983, allocations: 13.7 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.5989, allocations: 172.8 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5989, allocations: 1.219 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.599, allocations: 6.594 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/0.599, allocations: 3.938 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.5996, allocations: 157 kB / 0.7883 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.6006, allocations: 494.2 kB / 0.7888 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009841/0.6016, allocations: 216.3 kB / 0.789 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.6019, allocations: 83.77 kB / 0.789 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.602, allocations: 1.875 kB / 0.789 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.602, allocations: 33.28 kB / 0.7891 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.602, allocations: 0 / 0.7891 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.001003/0.603, allocations: 260.5 kB / 0.7893 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.603, allocations: 57.62 kB / 0.7894 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.6031, allocations: 134.4 kB / 0.7895 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.6032, allocations: 28.86 kB / 0.7895 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.6032, allocations: 111.7 kB / 0.7896 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.6032, allocations: 22.53 kB / 0.7897 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.6033, allocations: 24.22 kB / 0.7897 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.6034, allocations: 325 kB / 0.79 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.6037, allocations: 73.16 kB / 0.7901 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.604, allocations: 94.19 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.6045, allocations: 166.4 kB / 0.7903 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6045, allocations: 0.875 kB / 0.7903 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006567/0.6052, allocations: 203 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6052, allocations: 4.781 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6052, allocations: 2.906 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6053, allocations: 4.375 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.6055, allocations: 41.92 kB / 0.7906 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6055, allocations: 1.094 kB / 0.7906 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.6057, allocations: 30.95 kB / 0.7906 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.6058, allocations: 3.094 kB / 0.7906 GB, free: 47.54 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.367e-05/0.6058, allocations: 116.4 kB / 0.7907 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.6059, allocations: 9.328 kB / 0.7907 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.6066, allocations: 208.9 kB / 0.7909 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6066, allocations: 0 / 0.7909 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6066, allocations: 2.625 kB / 0.7909 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6066, allocations: 7.406 kB / 0.7909 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.6068, allocations: 236.2 kB / 0.7911 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6068, allocations: 0 / 0.7911 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.607, allocations: 35.86 kB / 0.7912 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.607, allocations: 0 / 0.7912 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6071, allocations: 6.094 kB / 0.7912 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6071, allocations: 4.734 kB / 0.7912 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6071, allocations: 0 / 0.7912 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.6077, allocations: 288.9 kB / 0.7915 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.6077, allocations: 87.58 kB / 0.7915 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.6078, allocations: 2.906 kB / 0.7916 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.6081, allocations: 32.36 kB / 0.7916 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.6081, allocations: 8.859 kB / 0.7916 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6081, allocations: 12.75 kB / 0.7916 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.6082, allocations: 108.3 kB / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6082, allocations: 0 / 0.7917 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002626/0.6085, allocations: 18.78 kB / 0.7917 GB, free: 46.88 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.0001163/0.6086, allocations: 105.2 kB / 0.7918 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.6092, allocations: 169.5 kB / 0.792 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6093, allocations: 0 / 0.792 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.6096, allocations: 83.78 kB / 0.7921 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.6099, allocations: 10.03 kB / 0.7921 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.6105, allocations: 283.5 kB / 0.7923 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.6107, allocations: 0.7003 MB / 0.793 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.6107, allocations: 17.98 kB / 0.793 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6107, allocations: 0 / 0.793 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.00293/0.6137, allocations: 1.602 MB / 0.7946 GB, free: 45.84 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)