Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107 kB / 16.36 MB, free: 6.48 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.001038/0.001038, allocations: 193.7 kB / 17.3 MB, free: 5.824 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001486/0.001486, allocations: 71.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2189, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001678/0.2206, allocations: 0.5934 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2219, allocations: 1.144 MB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.2219, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.222, allocations: 7.938 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2222, allocations: 15.92 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.2222, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.52e-05/0.2222, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.2223, allocations: 4 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.2223, allocations: 0 / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.2223, allocations: 15.91 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.2223, allocations: 0 / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.2225, allocations: 23.92 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-06/0.2225, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.154e-05/0.2225, allocations: 3.938 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.541e-05/0.2226, allocations: 19.97 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2226, allocations: 3.938 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2226, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2226, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 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.000242/0.2228, allocations: 319.6 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2229, allocations: 8.031 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.2229, allocations: 0.9375 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.223, allocations: 164.3 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.223, allocations: 4.375 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.223, allocations: 8.359 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.764e-05/0.2231, allocations: 42 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2232, allocations: 0 / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2232, allocations: 0 / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2232, allocations: 0 / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.2232, allocations: 4 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.2234, allocations: 153.7 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.2235, allocations: 42.55 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.2236, allocations: 8.859 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.2237, allocations: 77.11 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.2237, allocations: 38.59 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2237, allocations: 0 / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.3398/0.5635, allocations: 0.5698 MB / 0.788 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.5636, allocations: 52 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.548e-05/0.5636, allocations: 92.61 kB / 0.7881 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5636, allocations: 27.86 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-06/0.5637, allocations: 80.7 kB / 0.7882 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.5637, allocations: 17.19 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.5638, allocations: 20.44 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.5638, allocations: 314.9 kB / 0.7885 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.5644, allocations: 79.61 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.565, allocations: 106.5 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.566, allocations: 194.2 kB / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5661, allocations: 2.75 kB / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001122/0.5672, allocations: 212.2 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5672, allocations: 9.141 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5672, allocations: 2.969 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5672, allocations: 3.719 kB / 0.7891 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.5676, allocations: 47.58 kB / 0.7892 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5676, allocations: 3.234 kB / 0.7892 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.568, allocations: 40.02 kB / 0.7892 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.568, allocations: 5.844 kB / 0.7892 GB, free: 48.32 MB / 0.6544 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 (5): * Single equations (assignments): 5 * 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 6.799e-05/0.5681, allocations: 117.5 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.5681, allocations: 5.031 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.5693, allocations: 235.2 kB / 0.7896 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5694, allocations: 0 / 0.7896 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5694, allocations: 0 / 0.7896 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5694, allocations: 6.469 kB / 0.7896 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5707, allocations: 455.2 kB / 0.79 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5707, allocations: 0 / 0.79 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.5711, allocations: 52.47 kB / 0.7901 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5711, allocations: 3.531 kB / 0.7901 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.5711, allocations: 2.625 kB / 0.7901 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5711, allocations: 5.594 kB / 0.7901 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5711, allocations: 1.125 kB / 0.7901 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.5723, allocations: 305.3 kB / 0.7904 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.5723, allocations: 77.11 kB / 0.7904 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.5723, allocations: 3.594 kB / 0.7904 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.5727, allocations: 42.73 kB / 0.7905 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5727, allocations: 5.953 kB / 0.7905 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.5727, allocations: 2.625 kB / 0.7905 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.539e-05/0.5727, allocations: 79.28 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5727, allocations: 0 / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002605/0.573, allocations: 11.38 kB / 0.7906 GB, free: 47.51 MB / 0.6544 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 (5): * Single equations (assignments): 5 * 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.0001641/0.5732, allocations: 107.8 kB / 0.7907 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.5744, allocations: 178.2 kB / 0.7908 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5744, allocations: 1.125 kB / 0.7908 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.5749, allocations: 96.27 kB / 0.7909 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.5752, allocations: 4.125 kB / 0.7909 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5763, allocations: 210.9 kB / 0.7911 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.5765, allocations: 0.6808 MB / 0.7918 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.5766, allocations: 27.5 kB / 0.7918 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.5767, allocations: 14.33 kB / 0.7918 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.5767, allocations: 0 / 0.7918 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.002876/0.5796, allocations: 0.8074 MB / 0.7926 GB, free: 46.54 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)