Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.562/1.562, allocations: 287.4 MB / 303.2 MB, free: 8.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.000886/0.0008861, allocations: 178.3 kB / 371.8 MB, free: 10.82 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.405/1.405, allocations: 205.4 MB / 0.6304 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007593/0.0007593, allocations: 90.36 kB / 0.7438 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003881, allocations: 12.7 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001409/0.2022, allocations: 1.16 MB / 0.9804 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000672/0.2029, allocations: 473 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.203, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.203, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.2031, allocations: 15.92 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2033, allocations: 15.98 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.644e-05/0.2033, allocations: 23.92 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.2034, allocations: 4 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.2035, allocations: 11.94 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.2035, allocations: 7.984 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2035, allocations: 0 / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.2036, allocations: 23.91 kB / 0.981 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.2036, allocations: 8 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.2037, allocations: 29.7 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.119e-05/0.2037, allocations: 23.89 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2037, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2037, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2038, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 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.0003852/0.2041, allocations: 343.7 kB / 0.9813 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2042, allocations: 8.031 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.2042, allocations: 4.938 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.2043, allocations: 168.3 kB / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2043, allocations: 4.312 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2044, allocations: 4.375 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2045, allocations: 61.97 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2046, allocations: 0 / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2046, allocations: 0 / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2046, allocations: 0 / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.2048, allocations: 47.95 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.205, allocations: 252.8 kB / 0.9819 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.2052, allocations: 54.48 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.2052, allocations: 20.91 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.2054, allocations: 85.11 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2054, allocations: 30.56 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.2054, allocations: 4 kB / 0.9821 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000327/0.2057, allocations: 97.58 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.2058, allocations: 59.53 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.2058, allocations: 101.8 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.2058, allocations: 25.7 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.2059, allocations: 84.14 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.2059, allocations: 7.844 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2059, allocations: 0 / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.2059, allocations: 322.8 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.206, allocations: 19.98 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.2061, allocations: 23.98 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2063, allocations: 48.89 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2063, allocations: 3.938 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.2064, allocations: 77.59 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2065, allocations: 7.938 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2065, allocations: 8.031 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2065, allocations: 0 / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.2066, allocations: 11.98 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2066, allocations: 0 / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.2067, allocations: 7.984 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.2067, allocations: 4.25 kB / 0.9829 GB, free: 24.18 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.2067, allocations: 121.8 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2067, allocations: 7.906 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.207, allocations: 72.78 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.207, allocations: 4 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.207, allocations: 4 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.207, allocations: 89.12 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.207, allocations: 3.938 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.2071, allocations: 8 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2071, allocations: 7.922 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002077/0.2074, allocations: 164.9 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002058/0.2076, allocations: 250.8 kB / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.195e-05/0.2077, allocations: 23.92 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.23e-05/0.2077, allocations: 83.27 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of Backend: time 2.11e-07/0.2077, allocations: 0 / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.2081, allocations: 110.4 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000348/0.2085, allocations: 0.5604 MB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.002389/0.2109, allocations: 0.5703 MB / 0.9849 GB, free: 22.01 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)