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.001263/0.001263, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001117/0.001118, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 1.804/1.804, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001443/0.001443, allocations: 75.03 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2352, allocations: 114.5 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002678/0.2379, allocations: 1.425 MB / 0.7854 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004323/0.2383, allocations: 200.2 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.2384, allocations: 0 / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.2384, allocations: 0 / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.2385, allocations: 7.938 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.2388, allocations: 31.91 kB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.2388, allocations: 19.94 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.2389, allocations: 15.97 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.239, allocations: 8 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.239, allocations: 11.92 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.2391, allocations: 0 / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.2391, allocations: 35.97 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.2392, allocations: 7.938 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.2392, allocations: 11.92 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2393, allocations: 43.88 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2393, allocations: 0 / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2393, allocations: 0 / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.2394, allocations: 4 kB / 0.7858 GB, free: 2.039 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.0004518/0.2398, allocations: 343.7 kB / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2399, allocations: 8.031 kB / 0.7861 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2399, allocations: 4.938 kB / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.24, allocations: 172.2 kB / 0.7863 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.24, allocations: 384 / 0.7863 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.2401, allocations: 4.375 kB / 0.7863 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2402, allocations: 54.23 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2402, allocations: 192 / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2403, allocations: 3.938 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2403, allocations: 0 / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2404, allocations: 31.97 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2407, allocations: 252.9 kB / 0.7866 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2409, allocations: 46.44 kB / 0.7867 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.241, allocations: 16.91 kB / 0.7867 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.564e-05/0.2411, allocations: 85.09 kB / 0.7868 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2411, allocations: 38.56 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2411, allocations: 0 / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003515/0.2415, allocations: 85.58 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.2415, allocations: 51.41 kB / 0.7869 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.2416, allocations: 101.9 kB / 0.787 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2416, allocations: 25.7 kB / 0.7871 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.2417, allocations: 88.12 kB / 0.7871 GB, free: 444 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2417, allocations: 7.906 kB / 0.7872 GB, free: 436 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.2417, allocations: 9.719 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2418, allocations: 319 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.2419, allocations: 15.98 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.242, allocations: 19.97 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2422, allocations: 36.83 kB / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2422, allocations: 0 / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.3581/0.6003, allocations: 69.81 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6004, allocations: 5 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6004, allocations: 1.969 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.6004, allocations: 1.078 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.6005, allocations: 9.609 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6005, allocations: 2.281 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.6006, allocations: 9.062 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.6006, allocations: 4.156 kB / 0.7876 GB, free: 48.61 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 6.116e-05/0.6007, allocations: 115.8 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.6007, allocations: 5.438 kB / 0.7878 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.6009, allocations: 75.14 kB / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6009, allocations: 2.625 kB / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.601, allocations: 2.125 kB / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.601, allocations: 0 / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.6011, allocations: 163.6 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6011, allocations: 0 / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.6012, allocations: 8.531 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6012, allocations: 1 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.6012, allocations: 3.5 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6012, allocations: 0 / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6012, allocations: 4.703 kB / 0.788 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.6014, allocations: 165.1 kB / 0.7882 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.6015, allocations: 80.92 kB / 0.7882 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.6015, allocations: 6.406 kB / 0.7882 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.6016, allocations: 6.297 kB / 0.7882 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.6016, allocations: 10.17 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.6016, allocations: 4.5 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.6017, allocations: 83.06 kB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6017, allocations: 2.625 kB / 0.7883 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003109/0.602, allocations: 11.75 kB / 0.7884 GB, free: 47.98 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.0001437/0.6021, allocations: 109.6 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.6024, allocations: 42.91 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6024, allocations: 2.469 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.6025, allocations: 21.2 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6028, allocations: 3.344 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.603, allocations: 128.2 kB / 0.7886 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.6032, allocations: 0.678 MB / 0.7893 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.6032, allocations: 14.64 kB / 0.7893 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6032, allocations: 0 / 0.7893 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002065/0.6053, allocations: 0.6596 MB / 0.79 GB, free: 47.06 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)