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.001219/0.001219, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001409/0.001409, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.294/1.294, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.582/1.582, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001287/0.001287, allocations: 67.16 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2123, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00315/0.2154, allocations: 1.499 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.2163, allocations: 0.5016 MB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.2164, allocations: 8 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.2165, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.2166, allocations: 3.938 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.2168, allocations: 15.98 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.2169, allocations: 27.86 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.217, allocations: 4 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.217, allocations: 11.98 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.2171, allocations: 15.92 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2171, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.2172, allocations: 23.98 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.2172, allocations: 7.922 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.2172, allocations: 11.94 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2173, allocations: 35.89 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2173, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2174, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.2174, allocations: 3.984 kB / 0.785 GB, free: 11.72 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.0004433/0.2178, allocations: 343.7 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2179, allocations: 8.031 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.2179, allocations: 4.938 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.218, allocations: 168.3 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.218, allocations: 384 / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.218, allocations: 384 / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2182, allocations: 53.98 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2182, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2182, allocations: 3.938 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2183, allocations: 0 / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.2184, allocations: 43.89 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.2187, allocations: 248.9 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2188, allocations: 42.55 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.2189, allocations: 20.89 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.2191, allocations: 85.11 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.2191, allocations: 34.56 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.2191, allocations: 0 / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003273/0.2195, allocations: 81.58 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.2195, allocations: 51.41 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.2196, allocations: 110 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2196, allocations: 29.7 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.2196, allocations: 84.14 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2197, allocations: 7.844 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.2197, allocations: 17.7 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2198, allocations: 314.8 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.2199, allocations: 19.92 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.22, allocations: 19.98 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2201, allocations: 48.69 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2201, allocations: 0 / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001711/0.2203, allocations: 61.67 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2203, allocations: 4 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2203, allocations: 3.984 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2203, allocations: 4.094 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.2204, allocations: 8 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2204, allocations: 0 / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.2205, allocations: 7.984 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.2205, allocations: 0 / 0.7868 GB, free: 9.586 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 5.988e-05/0.2206, allocations: 113.8 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.2206, allocations: 7.906 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.2208, allocations: 76.72 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2208, allocations: 3.984 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2208, allocations: 4 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2208, allocations: 0 / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.221, allocations: 157.6 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.221, allocations: 0 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.221, allocations: 11.98 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.221, allocations: 0 / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2211, allocations: 0 / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2211, allocations: 4.031 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2211, allocations: 0 / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.2213, allocations: 171.3 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.2213, allocations: 77.11 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2213, allocations: 0 / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.2214, allocations: 12.27 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.2215, allocations: 4 kB / 0.7874 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.2215, allocations: 4 kB / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.2215, allocations: 87.27 kB / 0.7875 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2215, allocations: 0 / 0.7875 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002097/0.2217, allocations: 4 kB / 0.7875 GB, free: 8.762 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.0001366/0.2219, allocations: 103.2 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2221, allocations: 47.89 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2221, allocations: 0 / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.2222, allocations: 23.92 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2224, allocations: 6.609 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.2227, allocations: 113.4 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2229, allocations: 0.6847 MB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.2229, allocations: 0 / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.223, allocations: 7.438 kB / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.223, allocations: 0 / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.002225/0.2252, allocations: 0.5013 MB / 0.789 GB, free: 7.219 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)