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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 106.1 kB / 16.37 MB, free: 6.473 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.00115/0.00115, allocations: 191.2 kB / 17.31 MB, free: 5.82 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.501/1.501, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.002/2.002, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001432/0.001433, allocations: 62.88 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002769/0.2297, allocations: 1.445 MB / 0.7862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.2302, allocations: 192.3 kB / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.2302, allocations: 0 / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.2302, allocations: 0 / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.2303, allocations: 3.938 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2306, allocations: 43.89 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.2307, allocations: 23.86 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.2308, allocations: 8 kB / 0.7865 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.2308, allocations: 4 kB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.2309, allocations: 15.92 kB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2309, allocations: 4 kB / 0.7865 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.231, allocations: 31.97 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.231, allocations: 7.984 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.231, allocations: 15.92 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2312, allocations: 35.89 kB / 0.7866 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2312, allocations: 0 / 0.7866 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2312, allocations: 0 / 0.7866 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2312, allocations: 0 / 0.7866 GB, free: 1.367 MB / 0.6544 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.0004751/0.2317, allocations: 347.4 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2317, allocations: 12.03 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2317, allocations: 4.938 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2319, allocations: 172.2 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2319, allocations: 384 / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.2319, allocations: 384 / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.2321, allocations: 50.23 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2321, allocations: 192 / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2321, allocations: 7.875 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2321, allocations: 4 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.2323, allocations: 35.95 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.2327, allocations: 256.9 kB / 0.7874 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2328, allocations: 34.5 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.2329, allocations: 24.89 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.233, allocations: 89.09 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.233, allocations: 30.56 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.233, allocations: 3.938 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003582/0.2334, allocations: 85.58 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3139/0.5473, allocations: 51.41 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.5474, allocations: 102.7 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.5474, allocations: 25.7 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.5475, allocations: 86.12 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.5475, allocations: 7.438 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5475, allocations: 12.03 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.5476, allocations: 319 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5477, allocations: 11.39 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.5478, allocations: 20.38 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5479, allocations: 40.92 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5479, allocations: 0 / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.5481, allocations: 76.33 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5482, allocations: 5.5 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5482, allocations: 0 / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5482, allocations: 0 / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.5483, allocations: 10.89 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5483, allocations: 2.656 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.5483, allocations: 9.547 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5484, allocations: 0 / 0.7884 GB, free: 48.32 MB / 0.6544 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 4.412e-05/0.5484, allocations: 114.5 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.5484, allocations: 2.438 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.5487, allocations: 78.44 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5487, allocations: 0 / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5487, allocations: 3.469 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5487, allocations: 4.594 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5488, allocations: 153.3 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5488, allocations: 2.938 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.5489, allocations: 9.078 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.5489, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5489, allocations: 3.938 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5489, allocations: 3.328 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5489, allocations: 2.656 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.5491, allocations: 163.6 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.5491, allocations: 83.11 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.5492, allocations: 6.625 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.5492, allocations: 8.719 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.5493, allocations: 0 / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5493, allocations: 2.625 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.215e-05/0.5493, allocations: 86.39 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5493, allocations: 0 / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002492/0.5496, allocations: 11.03 kB / 0.7891 GB, free: 47.68 MB / 0.6544 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.0001286/0.5497, allocations: 111.4 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.5499, allocations: 41.92 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5499, allocations: 0 / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.55, allocations: 21.88 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.5503, allocations: 3.719 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.5505, allocations: 133.6 kB / 0.7894 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.497e-05/0.5506, allocations: 0.6781 MB / 0.7901 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.5507, allocations: 7.438 kB / 0.7901 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5507, allocations: 0 / 0.7901 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.001687/0.5523, allocations: 0.6569 MB / 0.7907 GB, free: 46.77 MB / 0.6544 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)