Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 113.9 kB / 16.38 MB, free: 5.992 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.001297/0.001297, allocations: 186.9 kB / 17.31 MB, free: 5.609 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.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.731/1.731, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001643/0.001643, allocations: 75.88 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.208, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003276/0.2114, allocations: 1.456 MB / 0.7862 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.2124, allocations: 0.5977 MB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.2125, allocations: 0 / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.2125, allocations: 3.984 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.2126, allocations: 7.938 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.2129, allocations: 47.83 kB / 0.7869 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.2129, allocations: 31.86 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2131, allocations: 7.984 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.2132, allocations: 19.92 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.213e-05/0.2132, allocations: 15.92 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2132, allocations: 4 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.2134, allocations: 43.97 kB / 0.787 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2134, allocations: 15.97 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2134, allocations: 11.88 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2136, allocations: 63.86 kB / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2136, allocations: 0 / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2136, allocations: 0 / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2137, allocations: 0 / 0.7871 GB, free: 0.8594 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.0004878/0.2141, allocations: 351.4 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2142, allocations: 8.031 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.2142, allocations: 4.844 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2144, allocations: 168.3 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2144, allocations: 12.25 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2144, allocations: 4.375 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2146, allocations: 45.98 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2146, allocations: 0 / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.2146, allocations: 11.98 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2146, allocations: 0 / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.2147, allocations: 15.98 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.321/0.5357, allocations: 257 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.5359, allocations: 31.56 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.536, allocations: 21.75 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/0.5367, allocations: 471.6 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.5367, allocations: 39.05 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.5367, allocations: 2.625 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.537, allocations: 62.39 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.448e-05/0.537, allocations: 51.41 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.5371, allocations: 112.3 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.5371, allocations: 25.7 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.5371, allocations: 90.62 kB / 0.7888 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.5371, allocations: 2.812 kB / 0.7888 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.5372, allocations: 18.44 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.5372, allocations: 320.1 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.5373, allocations: 5.25 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.5373, allocations: 11.58 kB / 0.7891 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.098e-05/0.5374, allocations: 28.72 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5374, allocations: 0.9062 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.946e-05/0.5375, allocations: 56.62 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5375, allocations: 7.656 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.5375, allocations: 5.312 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5375, allocations: 0 / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.5376, allocations: 8.562 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5376, allocations: 0.5938 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.5377, allocations: 0.8438 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.5377, allocations: 3.125 kB / 0.7892 GB, free: 47.63 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.116e-05/0.5377, allocations: 111.2 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.5378, allocations: 3.312 kB / 0.7893 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.5379, allocations: 68.08 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5379, allocations: 0.875 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5379, allocations: 2.531 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.5379, allocations: 79.61 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.538, allocations: 7.594 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.538, allocations: 2.812 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.5381, allocations: 5.781 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001139/0.5382, allocations: 130.2 kB / 0.7896 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001207/0.5383, allocations: 233.7 kB / 0.7898 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.283e-05/0.5384, allocations: 12.81 kB / 0.7899 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.5384, allocations: 89.05 kB / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of Backend: time 4.71e-07/0.5384, allocations: 1.219 kB / 0.7899 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.5388, allocations: 107.4 kB / 0.79 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000294/0.5391, allocations: 0.5733 MB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.002583/0.5417, allocations: 0.7674 MB / 0.7914 GB, free: 46.35 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)