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.001726/0.001727, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002104/0.002104, allocations: 194.6 kB / 16.14 MB, free: 6.645 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002688/0.002688, allocations: 292.4 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 101.9 kB / 0.6057 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.161, allocations: 89.16 MB / 0.6928 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003159/0.1642, allocations: 1.832 MB / 0.6946 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1654, allocations: 0.6618 MB / 0.6952 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.1655, allocations: 0.6562 kB / 0.6952 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.379e-05/0.1655, allocations: 3.938 kB / 0.6952 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.1656, allocations: 13.92 kB / 0.6952 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1662, allocations: 155.5 kB / 0.6954 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1663, allocations: 115.7 kB / 0.6955 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1665, allocations: 43.45 kB / 0.6955 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1666, allocations: 55.83 kB / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.1667, allocations: 47.75 kB / 0.6956 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.1668, allocations: 8 kB / 0.6956 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1669, allocations: 43.97 kB / 0.6957 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.1669, allocations: 31.84 kB / 0.6957 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.167, allocations: 55.64 kB / 0.6958 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1672, allocations: 135.8 kB / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1673, allocations: 4 kB / 0.6959 GB, free: 1.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1673, allocations: 4 kB / 0.6959 GB, free: 1.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1673, allocations: 0 / 0.6959 GB, free: 1.617 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.0006495/0.1679, allocations: 435 kB / 0.6963 GB, free: 1.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.168, allocations: 8.031 kB / 0.6963 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000882/0.1689, allocations: 112.7 kB / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.169, allocations: 193.4 kB / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/0.1691, allocations: 55.97 kB / 0.6967 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1692, allocations: 12.38 kB / 0.6967 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.1697, allocations: 169.6 kB / 0.6969 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1697, allocations: 4 kB / 0.6969 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1698, allocations: 7.984 kB / 0.6969 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1698, allocations: 4 kB / 0.6969 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.1704, allocations: 155.8 kB / 0.697 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1716, allocations: 485.8 kB / 0.6975 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1726, allocations: 218.3 kB / 0.6977 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1729, allocations: 84.84 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1729, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.173, allocations: 38.5 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.173, allocations: 0 / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001022/0.174, allocations: 265.6 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.174, allocations: 55.41 kB / 0.6981 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1742, allocations: 139.3 kB / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1742, allocations: 29.7 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.1743, allocations: 112.2 kB / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1743, allocations: 23.64 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.1744, allocations: 29.7 kB / 0.6984 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1745, allocations: 314.8 kB / 0.6987 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.1748, allocations: 79.97 kB / 0.6988 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1752, allocations: 98.44 kB / 0.6989 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.1757, allocations: 162.4 kB / 0.6991 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1757, allocations: 0 / 0.6991 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006471/0.1764, allocations: 201.4 kB / 0.6992 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1764, allocations: 5.406 kB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1764, allocations: 4 kB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1764, allocations: 7.922 kB / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.1767, allocations: 43.89 kB / 0.6993 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1767, allocations: 0 / 0.6993 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1769, allocations: 19.97 kB / 0.6993 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1769, allocations: 4.156 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB 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.0001045/0.177, allocations: 121.8 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.1771, allocations: 7.906 kB / 0.6995 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.1778, allocations: 214 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1778, allocations: 0 / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1778, allocations: 4 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1778, allocations: 0 / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.1781, allocations: 238.3 kB / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1781, allocations: 0 / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.1783, allocations: 31.95 kB / 0.6999 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1784, allocations: 0 / 0.6999 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1784, allocations: 7.875 kB / 0.6999 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1784, allocations: 4.125 kB / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1784, allocations: 7.984 kB / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.1791, allocations: 287.3 kB / 0.7002 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1791, allocations: 85.02 kB / 0.7003 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1792, allocations: 3.938 kB / 0.7003 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1795, allocations: 27.95 kB / 0.7003 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1795, allocations: 15.86 kB / 0.7003 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1795, allocations: 11.98 kB / 0.7004 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.998e-05/0.1796, allocations: 105 kB / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1796, allocations: 0 / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002548/0.1799, allocations: 24 kB / 0.7005 GB, free: 12.59 MB / 0.4981 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 (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.0001133/0.18, allocations: 99.23 kB / 0.7006 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006366/0.1807, allocations: 159.8 kB / 0.7007 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1807, allocations: 4.125 kB / 0.7007 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.181, allocations: 83.91 kB / 0.7008 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.1813, allocations: 11.86 kB / 0.7008 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.182, allocations: 297.1 kB / 0.7011 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1823, allocations: 0.6965 MB / 0.7018 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.1824, allocations: 19.98 kB / 0.7018 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.1825, allocations: 19.42 kB / 0.7018 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1825, allocations: 7.938 kB / 0.7018 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.0042/0.1867, allocations: 1.372 MB / 0.7032 GB, free: 9.793 MB / 0.4981 GB 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)