Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.558/1.558, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.002016/0.002015, allocations: 188.5 kB / 376.9 MB, free: 1.812 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.391/1.391, allocations: 205 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009618/0.0009617, allocations: 103 kB / 0.748 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2336, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002793/0.2365, allocations: 1.503 MB / 0.9837 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004572/0.237, allocations: 208.2 kB / 0.9839 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.237, allocations: 0 / 0.9839 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.237, allocations: 0 / 0.9839 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.2371, allocations: 3.984 kB / 0.9839 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2374, allocations: 27.92 kB / 0.9839 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.2374, allocations: 23.92 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.2375, allocations: 0 / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.2376, allocations: 15.94 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.2376, allocations: 11.97 kB / 0.984 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2376, allocations: 0 / 0.984 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.248e-05/0.2377, allocations: 35.97 kB / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2378, allocations: 11.92 kB / 0.984 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.2378, allocations: 7.938 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.2379, allocations: 31.94 kB / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2379, allocations: 0 / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2379, allocations: 0 / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2379, allocations: 0 / 0.984 GB, free: 8.523 MB / 0.7136 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.0004475/0.2384, allocations: 355.7 kB / 0.9844 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2384, allocations: 8.031 kB / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.2385, allocations: 8.938 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2386, allocations: 172.3 kB / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.2386, allocations: 384 / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2386, allocations: 384 / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2388, allocations: 50.23 kB / 0.9846 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2388, allocations: 8.062 kB / 0.9846 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2388, allocations: 11.94 kB / 0.9846 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2388, allocations: 0 / 0.9846 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.239, allocations: 27.97 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.2393, allocations: 249 kB / 0.9849 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.2394, allocations: 38.5 kB / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.2395, allocations: 28.89 kB / 0.985 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.2396, allocations: 81.11 kB / 0.985 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2397, allocations: 34.5 kB / 0.9851 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.2397, allocations: 0 / 0.9851 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003288/0.24, allocations: 85.73 kB / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2401, allocations: 51.41 kB / 0.9852 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.2401, allocations: 105.8 kB / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2402, allocations: 25.7 kB / 0.9853 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.2402, allocations: 80.14 kB / 0.9854 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.2402, allocations: 7.906 kB / 0.9854 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.2403, allocations: 13.72 kB / 0.9854 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2404, allocations: 310.8 kB / 0.9857 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.2405, allocations: 28 kB / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.2405, allocations: 15.92 kB / 0.9858 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.2407, allocations: 40.83 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2407, allocations: 0 / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.2409, allocations: 77.56 kB / 0.9859 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2409, allocations: 4 kB / 0.9859 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2409, allocations: 0 / 0.9859 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2409, allocations: 0 / 0.9859 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.241, allocations: 11.98 kB / 0.9859 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.241, allocations: 0 / 0.9859 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.2411, allocations: 15.86 kB / 0.9859 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2411, allocations: 0 / 0.9859 GB, free: 6.371 MB / 0.7136 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 9.297e-05/0.2412, allocations: 121.7 kB / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2412, allocations: 8 kB / 0.986 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.2414, allocations: 64.78 kB / 0.9861 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2415, allocations: 0 / 0.9861 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2415, allocations: 4 kB / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2415, allocations: 0 / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.2416, allocations: 165.6 kB / 0.9862 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2416, allocations: 256 / 0.9862 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.2417, allocations: 20.02 kB / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2417, allocations: 0 / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2417, allocations: 0 / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2417, allocations: 0 / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2417, allocations: 3.938 kB / 0.9863 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.2423, allocations: 0.7317 MB / 0.987 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.2423, allocations: 77.11 kB / 0.9871 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.2424, allocations: 0 / 0.9871 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.2424, allocations: 4 kB / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2425, allocations: 7.922 kB / 0.9871 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2425, allocations: 7.938 kB / 0.9871 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.2425, allocations: 83.28 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2425, allocations: 0 / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003338/0.2429, allocations: 12 kB / 0.9872 GB, free: 4.934 MB / 0.7136 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.0001716/0.2431, allocations: 107.2 kB / 0.9873 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.2433, allocations: 31.97 kB / 0.9873 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2433, allocations: 4 kB / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.2434, allocations: 19.97 kB / 0.9873 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2436, allocations: 12.06 kB / 0.9873 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.2439, allocations: 213.9 kB / 0.9875 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2442, allocations: 0.677 MB / 0.9882 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.2442, allocations: 7.906 kB / 0.9882 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.2442, allocations: 7.438 kB / 0.9882 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.2442, allocations: 0 / 0.9882 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of Templates: time 0.002416/0.2466, allocations: 0.5219 MB / 0.9887 GB, free: 3.262 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)