Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001302/0.001302, 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 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 298.9 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8815/0.8815, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 94.33 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1503, allocations: 86.98 MB / 0.6808 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003258/0.1536, allocations: 1.756 MB / 0.6826 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1548, allocations: 0.6522 MB / 0.6832 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.1549, allocations: 0 / 0.6832 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.155, allocations: 19.8 kB / 0.6832 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.1551, allocations: 15.81 kB / 0.6832 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.1556, allocations: 182.9 kB / 0.6834 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1558, allocations: 127.6 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.156, allocations: 49.36 kB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1561, allocations: 51.84 kB / 0.6836 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1562, allocations: 59.75 kB / 0.6837 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.1563, allocations: 8 kB / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1564, allocations: 43.97 kB / 0.6837 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.1564, allocations: 35.89 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.1565, allocations: 47.73 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1567, allocations: 147.5 kB / 0.6839 GB, free: 4.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1567, allocations: 0 / 0.6839 GB, free: 4.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1567, allocations: 0 / 0.6839 GB, free: 4.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1567, allocations: 3.938 kB / 0.6839 GB, free: 4.977 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006317/0.1574, allocations: 439.1 kB / 0.6844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1574, allocations: 12.03 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.1583, allocations: 104.6 kB / 0.6845 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1585, allocations: 188.1 kB / 0.6847 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.1586, allocations: 71.95 kB / 0.6847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1586, allocations: 8.375 kB / 0.6847 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.1592, allocations: 172.1 kB / 0.6849 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1592, allocations: 0 / 0.6849 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1592, allocations: 8 kB / 0.6849 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1592, allocations: 0 / 0.6849 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.1598, allocations: 159.8 kB / 0.6851 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.161, allocations: 481.7 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.1621, allocations: 222.3 kB / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.1624, allocations: 80.91 kB / 0.6858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1624, allocations: 11.97 kB / 0.6858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1625, allocations: 34.5 kB / 0.6859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1625, allocations: 0 / 0.6859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001067/0.1635, allocations: 265.4 kB / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1636, allocations: 55.41 kB / 0.6862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1637, allocations: 143.4 kB / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1637, allocations: 25.7 kB / 0.6863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.1638, allocations: 112.2 kB / 0.6864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1639, allocations: 11.75 kB / 0.6864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.1639, allocations: 29.7 kB / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.164, allocations: 318.8 kB / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.1644, allocations: 75.92 kB / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.1647, allocations: 102.5 kB / 0.6869 GB, free: 1.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.1654, allocations: 158.4 kB / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1654, allocations: 4 kB / 0.6871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007004/0.1661, allocations: 197.4 kB / 0.6873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1661, allocations: 8 kB / 0.6873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1661, allocations: 0 / 0.6873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1661, allocations: 8 kB / 0.6873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.1664, allocations: 36.27 kB / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1664, allocations: 0 / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.1666, allocations: 35.86 kB / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1667, allocations: 4 kB / 0.6874 GB, free: 1.219 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001081/0.1668, allocations: 121.7 kB / 0.6875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.1668, allocations: 11.89 kB / 0.6875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/0.1676, allocations: 210.2 kB / 0.6877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1676, allocations: 0 / 0.6877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1676, allocations: 7.938 kB / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1676, allocations: 0 / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1679, allocations: 238.4 kB / 0.6879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1679, allocations: 0 / 0.6879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.1681, allocations: 31.95 kB / 0.688 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1681, allocations: 0 / 0.688 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1681, allocations: 7.922 kB / 0.688 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1681, allocations: 7.938 kB / 0.688 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1682, allocations: 3.938 kB / 0.688 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.1689, allocations: 279.3 kB / 0.6882 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1689, allocations: 89.02 kB / 0.6883 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.169, allocations: 3.938 kB / 0.6883 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.1693, allocations: 31.95 kB / 0.6884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1693, allocations: 4 kB / 0.6884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1693, allocations: 11.98 kB / 0.6884 GB, free: 80 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2719/0.4413, allocations: 102.1 kB / 0.6885 GB, free: 18.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4413, allocations: 0 / 0.6885 GB, free: 18.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000391/0.4417, allocations: 28.75 kB / 0.6885 GB, free: 18.19 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001377/0.4419, allocations: 96.95 kB / 0.6886 GB, free: 18.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.4427, allocations: 167 kB / 0.6888 GB, free: 18.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4427, allocations: 0.9375 kB / 0.6888 GB, free: 18.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.4431, allocations: 85.91 kB / 0.6888 GB, free: 18.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4434, allocations: 10.62 kB / 0.6889 GB, free: 18.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.4442, allocations: 284.8 kB / 0.6891 GB, free: 17.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.4443, allocations: 0.7006 MB / 0.6898 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.4444, allocations: 15.53 kB / 0.6898 GB, free: 17.23 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4444, allocations: 0.8438 kB / 0.6898 GB, free: 17.23 MB / 494.1 MB Notification: Performance of Templates: time 0.003783/0.4482, allocations: 1.599 MB / 0.6914 GB, free: 17.21 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)