Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.372/2.372, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 174.2 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.531/2.531, allocations: 205.4 MB / 0.5772 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 92.62 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 13.75 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002528/0.2125, allocations: 1.16 MB / 0.9006 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2136, allocations: 493.9 kB / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.2137, allocations: 0 / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.2138, allocations: 0 / 0.9011 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.2139, allocations: 11.92 kB / 0.9011 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.2141, allocations: 11.98 kB / 0.9011 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.2142, allocations: 19.94 kB / 0.9011 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.2143, allocations: 7.984 kB / 0.9011 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.2143, allocations: 7.938 kB / 0.9012 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.2144, allocations: 19.92 kB / 0.9012 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2144, allocations: 0 / 0.9012 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.021e-05/0.2145, allocations: 19.97 kB / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.2145, allocations: 0 / 0.9012 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.2146, allocations: 33.64 kB / 0.9012 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.2147, allocations: 19.97 kB / 0.9012 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2147, allocations: 4 kB / 0.9012 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2147, allocations: 0 / 0.9012 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2147, allocations: 0 / 0.9012 GB, free: 64.16 MB / 0.6042 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.0004767/0.2152, allocations: 343.4 kB / 0.9016 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2152, allocations: 8.031 kB / 0.9016 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.2153, allocations: 4.938 kB / 0.9016 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2154, allocations: 172.2 kB / 0.9018 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2154, allocations: 4.312 kB / 0.9018 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2155, allocations: 4.375 kB / 0.9018 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.2157, allocations: 61.98 kB / 0.9018 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2157, allocations: 0 / 0.9018 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2158, allocations: 0 / 0.9018 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2158, allocations: 3.984 kB / 0.9018 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2161, allocations: 43.91 kB / 0.9019 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.2165, allocations: 256.9 kB / 0.9021 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2166, allocations: 42.5 kB / 0.9022 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2168, allocations: 28.91 kB / 0.9022 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.217, allocations: 89.08 kB / 0.9023 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.217, allocations: 30.56 kB / 0.9023 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.217, allocations: 0 / 0.9023 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005419/0.2176, allocations: 105.6 kB / 0.9024 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2176, allocations: 51.41 kB / 0.9024 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.2177, allocations: 105.8 kB / 0.9025 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2177, allocations: 25.7 kB / 0.9026 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.2178, allocations: 84.14 kB / 0.9026 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2178, allocations: 3.906 kB / 0.9027 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2178, allocations: 4.125 kB / 0.9027 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.2179, allocations: 314.8 kB / 0.903 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.218, allocations: 23.97 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2182, allocations: 19.98 kB / 0.903 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2183, allocations: 24.05 kB / 0.903 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2183, allocations: 3.938 kB / 0.903 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003216/0.2187, allocations: 85.59 kB / 0.9031 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2187, allocations: 4 kB / 0.9031 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2187, allocations: 0 / 0.9031 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2187, allocations: 0 / 0.9031 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2189, allocations: 11.98 kB / 0.9031 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.2189, allocations: 3.984 kB / 0.9031 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.219, allocations: 8 kB / 0.9031 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.219, allocations: 256 / 0.9031 GB, free: 62 MB / 0.6042 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 7.156e-05/0.2191, allocations: 121.8 kB / 0.9032 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.2191, allocations: 7.891 kB / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.2195, allocations: 84.72 kB / 0.9033 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2195, allocations: 0 / 0.9033 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2195, allocations: 8.031 kB / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.2196, allocations: 77.11 kB / 0.9034 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2196, allocations: 4 kB / 0.9034 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2197, allocations: 7.984 kB / 0.9034 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2198, allocations: 3.938 kB / 0.9034 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004072/0.2202, allocations: 164.9 kB / 0.9036 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003484/0.2206, allocations: 254.7 kB / 0.9038 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001507/0.2207, allocations: 27.97 kB / 0.9039 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.2208, allocations: 79.28 kB / 0.9039 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of Backend: time 1.022e-06/0.2208, allocations: 0 / 0.9039 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005484/0.2213, allocations: 106.4 kB / 0.904 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004392/0.2218, allocations: 0.5603 MB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.0032/0.225, allocations: 0.558 MB / 0.9051 GB, free: 59.85 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)