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.001004/0.001004, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001289/0.001289, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.425/1.425, allocations: 205.1 MB / 222 MB, free: 4.762 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.684/1.684, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001345/0.001345, allocations: 68.17 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2272, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001985/0.2292, allocations: 0.6548 MB / 0.7833 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2307, allocations: 1.133 MB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.2307, allocations: 4 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.2308, allocations: 3.938 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.231, allocations: 23.97 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.464e-06/0.231, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.944e-05/0.231, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.2311, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.2311, allocations: 7.938 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.2311, allocations: 3.938 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.2311, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2313, allocations: 19.98 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.2313, allocations: 7.984 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.242e-05/0.2313, allocations: 0 / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.2314, allocations: 19.86 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2314, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2314, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2314, allocations: 0 / 0.7845 GB, free: 12.11 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.0002827/0.2317, allocations: 319.6 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2317, allocations: 8.031 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2318, allocations: 4.938 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.2319, allocations: 160.4 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2319, allocations: 4.375 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2319, allocations: 4.359 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.232, allocations: 42 kB / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.232, allocations: 0 / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.232, allocations: 4 kB / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2321, allocations: 0 / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.2321, allocations: 11.92 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.2322, allocations: 149.9 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2324, allocations: 38.61 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.2325, allocations: 12.8 kB / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.2326, allocations: 85.19 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2327, allocations: 34.5 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2327, allocations: 0 / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.004185/0.2368, allocations: 0.5715 MB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2369, allocations: 55.41 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.505e-05/0.2369, allocations: 93.86 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.237, allocations: 25.7 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.237, allocations: 84.14 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.237, allocations: 15.73 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.2371, allocations: 25.7 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.2372, allocations: 310.8 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.2378, allocations: 83.95 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.2384, allocations: 106.5 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2395, allocations: 182.5 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2396, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001204/0.2408, allocations: 221.5 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2408, allocations: 7.938 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2408, allocations: 4 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2408, allocations: 0 / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.2412, allocations: 48 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2412, allocations: 4 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.2416, allocations: 43.97 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2416, allocations: 4 kB / 0.7872 GB, free: 9.137 MB / 0.6075 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 7.643e-05/0.2417, allocations: 106.5 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.2417, allocations: 11.84 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.2431, allocations: 245 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2431, allocations: 0 / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2431, allocations: 0 / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2431, allocations: 4 kB / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.2446, allocations: 450.5 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2446, allocations: 0 / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.245, allocations: 51.91 kB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.245, allocations: 0 / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.245, allocations: 0 / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.245, allocations: 4.312 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.245, allocations: 4 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2463, allocations: 303.4 kB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.2464, allocations: 77.53 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2464, allocations: 4 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.2468, allocations: 43.97 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.2468, allocations: 4 kB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2468, allocations: 3.938 kB / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.2469, allocations: 83.31 kB / 0.7885 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2469, allocations: 0 / 0.7885 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002574/0.2471, allocations: 12 kB / 0.7885 GB, free: 7.648 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 (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.0001731/0.2473, allocations: 115.1 kB / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.2486, allocations: 179.9 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2486, allocations: 0 / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.2491, allocations: 92.02 kB / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.2494, allocations: 4 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2505, allocations: 234.5 kB / 0.7891 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2508, allocations: 0.6731 MB / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.251, allocations: 28 kB / 0.7898 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.2511, allocations: 15.42 kB / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2511, allocations: 0 / 0.7898 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.002692/0.2538, allocations: 0.7957 MB / 0.7906 GB, free: 5.465 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)