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.001359/0.001359, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001548/0.001548, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.812/1.812, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005591/0.0005592, allocations: 22.08 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2572, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00223/0.2595, allocations: 1.439 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.2605, allocations: 0.6372 MB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.2606, allocations: 4 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.2606, allocations: 3.938 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.2607, allocations: 23.89 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.2613, allocations: 146.8 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2614, allocations: 71.84 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2615, allocations: 37.27 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2616, allocations: 47.83 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.2617, allocations: 39.78 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.2618, allocations: 4 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2619, allocations: 35.97 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.2619, allocations: 27.84 kB / 0.7896 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.262, allocations: 37.64 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2621, allocations: 96.05 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2621, allocations: 0 / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.616e-06/0.2621, allocations: 4 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2621, allocations: 0 / 0.7897 GB, free: 9.332 MB / 0.6075 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.0006761/0.2628, allocations: 417.7 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.2629, allocations: 8.031 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008865/0.2638, allocations: 139.6 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.264, allocations: 186.9 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.2641, allocations: 71.33 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2641, allocations: 8 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.2647, allocations: 189.4 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2647, allocations: 3.984 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.2648, allocations: 4 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2648, allocations: 4 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.2654, allocations: 195.8 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.2666, allocations: 0.5017 MB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2676, allocations: 266.3 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2676, allocations: 11.92 kB / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.2676, allocations: 30.56 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2676, allocations: 0 / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001001/0.2687, allocations: 317.6 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2687, allocations: 55.41 kB / 0.792 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.2688, allocations: 137.8 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2688, allocations: 25.7 kB / 0.7922 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.2689, allocations: 108.2 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2689, allocations: 23.64 kB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.269, allocations: 4 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2691, allocations: 326.8 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.2694, allocations: 91.92 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.2697, allocations: 110.4 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.27, allocations: 95.92 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.27, allocations: 0 / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007293/0.2707, allocations: 233.4 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2708, allocations: 6.812 kB / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2708, allocations: 0 / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2708, allocations: 8.062 kB / 0.7931 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.271, allocations: 43.95 kB / 0.7932 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2711, allocations: 0 / 0.7932 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.2713, allocations: 39.86 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2713, allocations: 4 kB / 0.7932 GB, free: 5.496 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.646e-05/0.2714, allocations: 121.7 kB / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.2714, allocations: 11.91 kB / 0.7933 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.2721, allocations: 234.5 kB / 0.7936 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2721, allocations: 4 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2722, allocations: 4.062 kB / 0.7936 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2722, allocations: 3.984 kB / 0.7936 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.2724, allocations: 234.3 kB / 0.7938 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2724, allocations: 0 / 0.7938 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.2726, allocations: 43.95 kB / 0.7938 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.2726, allocations: 0 / 0.7938 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2727, allocations: 7.922 kB / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2727, allocations: 0 / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2727, allocations: 4 kB / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.2734, allocations: 323.2 kB / 0.7941 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.2734, allocations: 85.02 kB / 0.7942 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.2734, allocations: 0 / 0.7942 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.2737, allocations: 47.89 kB / 0.7943 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2738, allocations: 11.98 kB / 0.7943 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2738, allocations: 7.938 kB / 0.7943 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.3e-05/0.2739, allocations: 106 kB / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2739, allocations: 0 / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002546/0.2742, allocations: 23.91 kB / 0.7944 GB, free: 4.148 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.2743, allocations: 103.2 kB / 0.7945 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006766/0.275, allocations: 199.8 kB / 0.7947 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.275, allocations: 0 / 0.7947 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.2753, allocations: 104 kB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2756, allocations: 11.98 kB / 0.7948 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.2762, allocations: 301.4 kB / 0.7951 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2765, allocations: 0.7004 MB / 0.7958 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.373e-05/0.2766, allocations: 23.92 kB / 0.7958 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2767, allocations: 15.42 kB / 0.7958 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2767, allocations: 0 / 0.7958 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.003502/0.2802, allocations: 1.314 MB / 0.7971 GB, free: 1.336 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: