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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.544/1.544, allocations: 292.3 MB / 308.1 MB, free: 4.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 184.5 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205 MB / 0.6353 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009367/0.0009368, allocations: 96.09 kB / 0.7479 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.244, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003611/0.2477, allocations: 1.825 MB / 0.984 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.249, allocations: 0.7031 MB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.2491, allocations: 0 / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.2492, allocations: 11.86 kB / 0.9847 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.2493, allocations: 7.938 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.2499, allocations: 167.7 kB / 0.9849 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.2501, allocations: 119.6 kB / 0.985 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2502, allocations: 49.09 kB / 0.985 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.2504, allocations: 51.83 kB / 0.9851 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.2505, allocations: 47.77 kB / 0.9851 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.2505, allocations: 8 kB / 0.9851 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.2507, allocations: 43.95 kB / 0.9852 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.2507, allocations: 19.92 kB / 0.9852 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.2508, allocations: 63.7 kB / 0.9852 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.251, allocations: 143.8 kB / 0.9854 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.251, allocations: 0 / 0.9854 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.251, allocations: 0 / 0.9854 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.251, allocations: 0 / 0.9854 GB, free: 7.102 MB / 0.7136 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.0006368/0.2517, allocations: 439 kB / 0.9858 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2517, allocations: 8.031 kB / 0.9858 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.2525, allocations: 112.6 kB / 0.9859 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2527, allocations: 192 kB / 0.9861 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.897e-05/0.2528, allocations: 63.95 kB / 0.9862 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.2528, allocations: 12.38 kB / 0.9862 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.2533, allocations: 165.7 kB / 0.9863 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2534, allocations: 0 / 0.9863 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2534, allocations: 11.92 kB / 0.9863 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2534, allocations: 4 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.254, allocations: 155.8 kB / 0.9865 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.255, allocations: 485.7 kB / 0.987 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.256, allocations: 218.3 kB / 0.9872 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.2563, allocations: 80.91 kB / 0.9872 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.2564, allocations: 0 / 0.9872 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2564, allocations: 34.56 kB / 0.9873 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2564, allocations: 0 / 0.9873 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0009731/0.2574, allocations: 261.5 kB / 0.9875 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2574, allocations: 59.34 kB / 0.9876 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2576, allocations: 151.7 kB / 0.9877 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2576, allocations: 29.7 kB / 0.9878 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2577, allocations: 112.2 kB / 0.9879 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.2577, allocations: 19.66 kB / 0.9879 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.2578, allocations: 21.7 kB / 0.9879 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2579, allocations: 322.8 kB / 0.9882 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.2582, allocations: 75.92 kB / 0.9883 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.2585, allocations: 90.5 kB / 0.9884 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.259, allocations: 174.4 kB / 0.9885 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2591, allocations: 0 / 0.9885 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006518/0.2597, allocations: 201.4 kB / 0.9887 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2597, allocations: 5.875 kB / 0.9887 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2598, allocations: 0 / 0.9887 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2598, allocations: 7.938 kB / 0.9887 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.26, allocations: 31.95 kB / 0.9888 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.26, allocations: 4 kB / 0.9888 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2602, allocations: 28 kB / 0.9888 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2602, allocations: 7.984 kB / 0.9888 GB, free: 3.34 MB / 0.7136 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 9.628e-05/0.2603, allocations: 117.8 kB / 0.9889 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.2604, allocations: 11.89 kB / 0.9889 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.2611, allocations: 214 kB / 0.9891 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2611, allocations: 384 / 0.9891 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2611, allocations: 0 / 0.9891 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2611, allocations: 0 / 0.9891 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2613, allocations: 242.3 kB / 0.9894 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2614, allocations: 4 kB / 0.9894 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.2616, allocations: 31.95 kB / 0.9894 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2616, allocations: 4 kB / 0.9894 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2616, allocations: 3.938 kB / 0.9894 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2616, allocations: 0 / 0.9894 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2616, allocations: 0 / 0.9894 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2628, allocations: 0.9305 MB / 0.9903 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.2629, allocations: 81.02 kB / 0.9904 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.2629, allocations: 8 kB / 0.9904 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.2632, allocations: 39.83 kB / 0.9904 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.2632, allocations: 4 kB / 0.9904 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.2632, allocations: 3.984 kB / 0.9904 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.474e-05/0.2633, allocations: 109.1 kB / 0.9906 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2633, allocations: 0 / 0.9906 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003411/0.2637, allocations: 24 kB / 0.9906 GB, free: 1.387 MB / 0.7136 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.0001247/0.2638, allocations: 95.25 kB / 0.9907 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006481/0.2644, allocations: 171.8 kB / 0.9908 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2645, allocations: 0 / 0.9908 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.2648, allocations: 80.05 kB / 0.9909 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2651, allocations: 11.92 kB / 0.9909 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.2658, allocations: 404 kB / 0.9913 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.2661, allocations: 0.7004 MB / 0.992 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.43e-05/0.2663, allocations: 16 kB / 0.992 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.2663, allocations: 15.42 kB / 0.992 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.2663, allocations: 3.938 kB / 0.992 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.003555/0.2699, allocations: 1.405 MB / 0.9934 GB, free: 14.44 MB / 0.7292 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)