Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 108.9 kB / 16.35 MB, free: 5.879 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.001936/0.001936, allocations: 194.6 kB / 17.29 MB, free: 5.516 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 4.523 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.711/1.711, allocations: 292.3 MB / 0.5496 GB, free: 12.77 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.001707/0.001708, allocations: 75.16 kB / 0.6729 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2733, allocations: 114.5 MB / 0.7848 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003536/0.2769, allocations: 1.433 MB / 0.7862 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2781, allocations: 0.5005 MB / 0.7867 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.2781, allocations: 0 / 0.7867 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.2782, allocations: 3.938 kB / 0.7867 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.2782, allocations: 0 / 0.7867 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2785, allocations: 23.92 kB / 0.7867 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.066e-05/0.2786, allocations: 27.92 kB / 0.7867 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2787, allocations: 3.984 kB / 0.7867 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.2788, allocations: 11.94 kB / 0.7867 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.2788, allocations: 23.91 kB / 0.7867 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2788, allocations: 4 kB / 0.7867 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.2789, allocations: 19.92 kB / 0.7868 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.279, allocations: 4 kB / 0.7868 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.279, allocations: 15.92 kB / 0.7868 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2791, allocations: 27.89 kB / 0.7868 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2791, allocations: 0 / 0.7868 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2791, allocations: 0 / 0.7868 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2792, allocations: 3.938 kB / 0.7868 GB, free: 10.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005482/0.2797, allocations: 351.4 kB / 0.7872 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2798, allocations: 8.031 kB / 0.7872 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.2798, allocations: 4.938 kB / 0.7872 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.28, allocations: 168.3 kB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.28, allocations: 4.375 kB / 0.7873 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.28, allocations: 4.375 kB / 0.7873 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.2802, allocations: 53.94 kB / 0.7874 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2803, allocations: 3.984 kB / 0.7874 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2803, allocations: 0 / 0.7874 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2803, allocations: 4 kB / 0.7874 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.2805, allocations: 31.97 kB / 0.7874 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.2809, allocations: 248.9 kB / 0.7877 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2811, allocations: 34.56 kB / 0.7877 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.2813, allocations: 32.84 kB / 0.7877 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.2814, allocations: 81.09 kB / 0.7878 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.2815, allocations: 34.56 kB / 0.7878 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.2815, allocations: 0 / 0.7878 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004904/0.282, allocations: 77.64 kB / 0.7879 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.282, allocations: 55.53 kB / 0.788 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.2821, allocations: 105.8 kB / 0.7881 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2822, allocations: 25.7 kB / 0.7881 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.2822, allocations: 85.2 kB / 0.7882 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2823, allocations: 7.844 kB / 0.7882 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.2823, allocations: 13.72 kB / 0.7882 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2825, allocations: 318.8 kB / 0.7885 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.2826, allocations: 23.91 kB / 0.7885 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2827, allocations: 15.98 kB / 0.7885 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.283, allocations: 41.02 kB / 0.7886 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.283, allocations: 0 / 0.7886 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002812/0.2833, allocations: 73.66 kB / 0.7886 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2833, allocations: 8.094 kB / 0.7886 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2833, allocations: 4 kB / 0.7887 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2833, allocations: 0 / 0.7887 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2835, allocations: 7.984 kB / 0.7887 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2835, allocations: 0 / 0.7887 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.2835, allocations: 7.938 kB / 0.7887 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2836, allocations: 3.984 kB / 0.7887 GB, free: 8.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.554e-05/0.2837, allocations: 113.8 kB / 0.7888 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2837, allocations: 7.891 kB / 0.7888 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.284, allocations: 76.78 kB / 0.7889 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.284, allocations: 0 / 0.7889 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2841, allocations: 3.938 kB / 0.7889 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2841, allocations: 0 / 0.7889 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.2843, allocations: 161.6 kB / 0.789 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2843, allocations: 0 / 0.789 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.2844, allocations: 8 kB / 0.789 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2844, allocations: 4.031 kB / 0.789 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2844, allocations: 3.984 kB / 0.789 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2844, allocations: 0 / 0.789 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2845, allocations: 0 / 0.789 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.2848, allocations: 167.4 kB / 0.7892 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2848, allocations: 81.11 kB / 0.7893 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2849, allocations: 32 / 0.7893 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.285, allocations: 8 kB / 0.7893 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.285, allocations: 3.984 kB / 0.7893 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.285, allocations: 0 / 0.7893 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.2851, allocations: 83.28 kB / 0.7894 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2851, allocations: 0 / 0.7894 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000423/0.2855, allocations: 8 kB / 0.7894 GB, free: 7.684 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 (2): * Single equations (assignments): 2 * 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.0002523/0.2858, allocations: 107.2 kB / 0.7895 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.2861, allocations: 39.91 kB / 0.7895 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2861, allocations: 0 / 0.7895 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.2863, allocations: 19.98 kB / 0.7895 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2868, allocations: 15.86 kB / 0.7895 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.2872, allocations: 113.4 kB / 0.7897 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2875, allocations: 0.6769 MB / 0.7903 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.2876, allocations: 3.984 kB / 0.7903 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.2876, allocations: 11.44 kB / 0.7903 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2876, allocations: 0 / 0.7903 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.003389/0.291, allocations: 0.5579 MB / 0.7909 GB, free: 6.09 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)