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.001003/0.001003, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.000958/0.000958, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 279.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8818/0.8818, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 90.98 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1623, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002774/0.1651, allocations: 1.771 MB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.1661, allocations: 0.6599 MB / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.1662, allocations: 4 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.1662, allocations: 7.875 kB / 0.684 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.1663, allocations: 19.78 kB / 0.684 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.1668, allocations: 166.7 kB / 0.6842 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1669, allocations: 127.7 kB / 0.6843 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.167, allocations: 49.08 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1672, allocations: 63.77 kB / 0.6844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1672, allocations: 47.78 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1673, allocations: 8 kB / 0.6844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.1674, allocations: 55.88 kB / 0.6845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.1674, allocations: 31.86 kB / 0.6845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.1675, allocations: 55.7 kB / 0.6846 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1677, allocations: 151.5 kB / 0.6847 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1677, allocations: 0 / 0.6847 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1677, allocations: 0 / 0.6847 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1677, allocations: 8 kB / 0.6847 GB, free: 4.242 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.0005443/0.1683, allocations: 423.1 kB / 0.6851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1683, allocations: 12.03 kB / 0.6851 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.1691, allocations: 116.6 kB / 0.6853 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1692, allocations: 181.5 kB / 0.6854 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.1693, allocations: 63.95 kB / 0.6855 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1693, allocations: 8.375 kB / 0.6855 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.1698, allocations: 171.9 kB / 0.6857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1698, allocations: 7.984 kB / 0.6857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.1698, allocations: 4 kB / 0.6857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1698, allocations: 4 kB / 0.6857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.1704, allocations: 155.8 kB / 0.6858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009828/0.1714, allocations: 489.7 kB / 0.6863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.1723, allocations: 222.3 kB / 0.6865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.1725, allocations: 76.91 kB / 0.6866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1726, allocations: 4 kB / 0.6866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1726, allocations: 42.56 kB / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1726, allocations: 0 / 0.6866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008844/0.1735, allocations: 269.4 kB / 0.6869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1735, allocations: 51.41 kB / 0.6869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.1737, allocations: 143.6 kB / 0.6871 GB, free: 1.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1737, allocations: 25.7 kB / 0.6871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.1738, allocations: 112.2 kB / 0.6872 GB, free: 1.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.1738, allocations: 11.75 kB / 0.6872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1738, allocations: 29.7 kB / 0.6872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.1739, allocations: 322.8 kB / 0.6875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.1742, allocations: 72.17 kB / 0.6876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.1745, allocations: 94.48 kB / 0.6877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.175, allocations: 170.4 kB / 0.6879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.175, allocations: 0 / 0.6879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005635/0.1756, allocations: 201.4 kB / 0.6881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1756, allocations: 8 kB / 0.6881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1756, allocations: 0 / 0.6881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1756, allocations: 3.938 kB / 0.6881 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1759, allocations: 44.02 kB / 0.6881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1759, allocations: 0 / 0.6881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1761, allocations: 23.88 kB / 0.6881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1761, allocations: 11.92 kB / 0.6882 GB, free: 0.4922 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 9.232e-05/0.1762, allocations: 121.7 kB / 0.6883 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.1762, allocations: 11.91 kB / 0.6883 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.1769, allocations: 206.2 kB / 0.6885 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1769, allocations: 0 / 0.6885 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1769, allocations: 0 / 0.6885 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1769, allocations: 0 / 0.6885 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2456/0.4225, allocations: 231.3 kB / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4226, allocations: 0.5312 kB / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4229, allocations: 32.45 kB / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4229, allocations: 0 / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.4229, allocations: 9.438 kB / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4229, allocations: 1.672 kB / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4229, allocations: 0.875 kB / 0.6887 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.4237, allocations: 284.4 kB / 0.689 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4237, allocations: 88.25 kB / 0.6891 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.4238, allocations: 4.984 kB / 0.6891 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.4241, allocations: 39 kB / 0.6891 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.4241, allocations: 7.406 kB / 0.6891 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.4242, allocations: 8.031 kB / 0.6891 GB, free: 17.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.4243, allocations: 103 kB / 0.6892 GB, free: 17.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4243, allocations: 0 / 0.6892 GB, free: 17.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.4246, allocations: 26.83 kB / 0.6893 GB, free: 17.82 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.0001343/0.4247, allocations: 98.33 kB / 0.6894 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.4254, allocations: 168.5 kB / 0.6895 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4254, allocations: 0 / 0.6895 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4257, allocations: 81.91 kB / 0.6896 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.426, allocations: 13.2 kB / 0.6896 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.4266, allocations: 253.3 kB / 0.6899 GB, free: 17.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.4268, allocations: 0.6999 MB / 0.6905 GB, free: 16.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.652e-05/0.4269, allocations: 15.62 kB / 0.6906 GB, free: 16.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.4269, allocations: 15.73 kB / 0.6906 GB, free: 16.89 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4269, allocations: 0 / 0.6906 GB, free: 16.89 MB / 494.1 MB Notification: Performance of Templates: time 0.004238/0.4312, allocations: 1.465 MB / 0.692 GB, free: 16.87 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)