Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 178.7 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007471/0.0007473, allocations: 87.61 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003703, allocations: 12.69 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2548, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001991/0.2569, allocations: 1.462 MB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.2579, allocations: 0.6563 MB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.258, allocations: 4 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.258, allocations: 7.938 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.2581, allocations: 15.84 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.2587, allocations: 142.2 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2589, allocations: 107.6 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.259, allocations: 41.27 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2592, allocations: 47.83 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.2593, allocations: 35.84 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.2594, allocations: 11.94 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.2595, allocations: 31.97 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.2595, allocations: 23.97 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.2596, allocations: 37.64 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2597, allocations: 91.83 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2597, allocations: 3.938 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2597, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2598, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 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.0005766/0.2603, allocations: 423.1 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2604, allocations: 8.031 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.2604, allocations: 42.56 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.2613, allocations: 139.7 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2614, allocations: 185.5 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.2615, allocations: 67.41 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.2615, allocations: 8 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.262, allocations: 193.4 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2621, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2621, allocations: 4 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2621, allocations: 7.953 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.2627, allocations: 191.8 kB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2638, allocations: 0.4938 MB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.2648, allocations: 274.3 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.2651, allocations: 96.91 kB / 0.905 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2651, allocations: 7.984 kB / 0.905 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2651, allocations: 34.56 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.2651, allocations: 3.938 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000982/0.2661, allocations: 313.5 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2662, allocations: 51.41 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.2663, allocations: 141.8 kB / 0.9055 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2663, allocations: 25.7 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.2664, allocations: 116.1 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2664, allocations: 19.64 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.2664, allocations: 4 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.2665, allocations: 318.8 kB / 0.906 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.2668, allocations: 91.91 kB / 0.9061 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2671, allocations: 110.5 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.2674, allocations: 95.86 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2674, allocations: 4 kB / 0.9063 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006457/0.2681, allocations: 233.4 kB / 0.9065 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2681, allocations: 10.66 kB / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2681, allocations: 0 / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2681, allocations: 0 / 0.9065 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.2684, allocations: 51.95 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2684, allocations: 3.953 kB / 0.9066 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2686, allocations: 31.97 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2686, allocations: 11.92 kB / 0.9066 GB, free: 57.05 MB / 0.6042 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 8.685e-05/0.2687, allocations: 113.8 kB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2688, allocations: 11.84 kB / 0.9067 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.2695, allocations: 242.2 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2695, allocations: 0 / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2695, allocations: 4 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2695, allocations: 3.953 kB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2697, allocations: 238.3 kB / 0.9072 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2697, allocations: 0 / 0.9072 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.27, allocations: 47.94 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.27, allocations: 0 / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.27, allocations: 0 / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.27, allocations: 0 / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.27, allocations: 4.359 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.2707, allocations: 331.2 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.2707, allocations: 92.94 kB / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2707, allocations: 0 / 0.9076 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.271, allocations: 43.95 kB / 0.9077 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.2711, allocations: 0 / 0.9077 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2711, allocations: 11.98 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.2712, allocations: 109.3 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2712, allocations: 0 / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002526/0.2714, allocations: 24 kB / 0.9078 GB, free: 55.71 MB / 0.6042 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.0008335/0.2723, allocations: 0.8489 MB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006174/0.2729, allocations: 195.8 kB / 0.9088 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2729, allocations: 4 kB / 0.9088 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.2732, allocations: 99.98 kB / 0.9089 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.2735, allocations: 11.98 kB / 0.909 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2754, allocations: 0.9253 MB / 0.9099 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2756, allocations: 0.7043 MB / 0.9105 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2757, allocations: 12.19 kB / 0.9106 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.2758, allocations: 35.41 kB / 0.9106 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2758, allocations: 0 / 0.9106 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.2892, allocations: 2.419 MB / 0.913 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.2894, allocations: 193.2 kB / 0.9131 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.859, allocations: 0 / 0.9131 GB, free: 50.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)