Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001255/0.001255, allocations: 99.62 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.001393/0.001393, 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.518/1.518, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5397/0.5397, allocations: 95.59 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.000529, allocations: 16 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2912, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001417/0.2927, allocations: 1.4 MB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.2936, allocations: 0.7691 MB / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.2937, allocations: 0 / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.2937, allocations: 3.938 kB / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.2937, allocations: 19.95 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.2943, allocations: 191.1 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.2944, allocations: 67.91 kB / 0.5074 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2945, allocations: 37.22 kB / 0.5074 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.2946, allocations: 47.89 kB / 0.5075 GB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.2946, allocations: 35.78 kB / 0.5075 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2947, allocations: 4 kB / 0.5075 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2948, allocations: 95.89 kB / 0.5076 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.2949, allocations: 23.91 kB / 0.5076 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.2949, allocations: 41.64 kB / 0.5077 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.295, allocations: 113.8 kB / 0.5078 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.295, allocations: 3.938 kB / 0.5078 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.295, allocations: 4 kB / 0.5078 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.2951, allocations: 0 / 0.5078 GB, free: 13.68 MB / 382.1 MB 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.0004495/0.2955, allocations: 426.9 kB / 0.5082 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2956, allocations: 11.98 kB / 0.5082 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.2956, allocations: 15.81 kB / 0.5082 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.545e-05/0.2957, allocations: 186.8 kB / 0.5084 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-05/0.2958, allocations: 67.41 kB / 0.5084 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2958, allocations: 4 kB / 0.5085 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.2961, allocations: 119.5 kB / 0.5086 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2961, allocations: 0 / 0.5086 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2961, allocations: 4 kB / 0.5086 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2961, allocations: 4 kB / 0.5086 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2963, allocations: 75.89 kB / 0.5086 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.2969, allocations: 412.4 kB / 0.509 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2971, allocations: 78.55 kB / 0.5091 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.2977, allocations: 1.267 MB / 0.5104 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2977, allocations: 46.5 kB / 0.5104 GB, free: 10.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2977, allocations: 0 / 0.5104 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000345/0.2981, allocations: 129.7 kB / 0.5105 GB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.2981, allocations: 55.41 kB / 0.5106 GB, free: 10.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.2982, allocations: 148.8 kB / 0.5107 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2982, allocations: 25.7 kB / 0.5107 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.2983, allocations: 112.1 kB / 0.5108 GB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.2983, allocations: 19.75 kB / 0.5109 GB, free: 10 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.2983, allocations: 0 / 0.5109 GB, free: 10 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.2984, allocations: 318.8 kB / 0.5112 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.2985, allocations: 27.98 kB / 0.5112 GB, free: 9.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.2986, allocations: 62.52 kB / 0.5113 GB, free: 9.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.2986, allocations: 35.98 kB / 0.5113 GB, free: 9.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2987, allocations: 3.938 kB / 0.5113 GB, free: 9.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000211/0.2989, allocations: 125.5 kB / 0.5114 GB, free: 9.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2989, allocations: 4 kB / 0.5114 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2989, allocations: 0 / 0.5114 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2989, allocations: 0 / 0.5114 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.299, allocations: 23.92 kB / 0.5114 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.299, allocations: 8.062 kB / 0.5114 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.2991, allocations: 11.91 kB / 0.5115 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2991, allocations: 7.984 kB / 0.5115 GB, free: 9.363 MB / 382.1 MB 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 6.498e-05/0.2992, allocations: 113.8 kB / 0.5116 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.2992, allocations: 11.86 kB / 0.5116 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2995, allocations: 130.6 kB / 0.5117 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2995, allocations: 0 / 0.5117 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2995, allocations: 0 / 0.5117 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2995, allocations: 0 / 0.5117 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2997, allocations: 205.6 kB / 0.5119 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2997, allocations: 3.984 kB / 0.5119 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.2998, allocations: 12 kB / 0.5119 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2998, allocations: 0 / 0.5119 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2998, allocations: 15.94 kB / 0.5119 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2998, allocations: 0 / 0.5119 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2998, allocations: 0 / 0.5119 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.3, allocations: 203.4 kB / 0.5121 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.3001, allocations: 84.95 kB / 0.5122 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3001, allocations: 8 kB / 0.5122 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3002, allocations: 23.94 kB / 0.5122 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3003, allocations: 7.984 kB / 0.5122 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3003, allocations: 7.984 kB / 0.5123 GB, free: 8.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.945e-05/0.3004, allocations: 99.27 kB / 0.5124 GB, free: 8.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3004, allocations: 0 / 0.5124 GB, free: 8.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3006, allocations: 31.91 kB / 0.5124 GB, free: 8.324 MB / 382.1 MB 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.0001366/0.3008, allocations: 115.2 kB / 0.5125 GB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.301, allocations: 75.89 kB / 0.5126 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.301, allocations: 11.88 kB / 0.5126 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.3011, allocations: 32.11 kB / 0.5126 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.3013, allocations: 11.94 kB / 0.5126 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.3017, allocations: 237.5 kB / 0.5128 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3018, allocations: 0.7082 MB / 0.5135 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.3019, allocations: 12.56 kB / 0.5135 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.3019, allocations: 15.44 kB / 0.5136 GB, free: 7.055 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3019, allocations: 0 / 0.5136 GB, free: 7.055 MB / 382.1 MB Notification: Performance of Templates: time 0.003173/0.3051, allocations: 1.255 MB / 0.5148 GB, free: 5.812 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: