Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009501/0.0009501, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009256/0.0009257, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9811/0.9811, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 12 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 83.42 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001947/0.1546, allocations: 1.445 MB / 0.5987 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1557, allocations: 0.578 MB / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1558, allocations: 0 / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1558, allocations: 15.86 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.1559, allocations: 11.98 kB / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.1565, allocations: 147.3 kB / 0.5994 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1567, allocations: 71.91 kB / 0.5995 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1568, allocations: 33.23 kB / 0.5995 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.157, allocations: 51.77 kB / 0.5996 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.1571, allocations: 35.78 kB / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1571, allocations: 8 kB / 0.5996 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1572, allocations: 39.95 kB / 0.5997 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.1572, allocations: 19.91 kB / 0.5997 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1573, allocations: 41.64 kB / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1575, allocations: 100 kB / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1575, allocations: 0 / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1575, allocations: 0 / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1575, allocations: 0 / 0.5998 GB, free: 5.188 MB / 0.4981 GB 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.0005851/0.1581, allocations: 425.2 kB / 0.6002 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1581, allocations: 8.031 kB / 0.6002 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.159, allocations: 143.6 kB / 0.6004 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1592, allocations: 178.8 kB / 0.6005 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.1593, allocations: 67.39 kB / 0.6006 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1594, allocations: 12 kB / 0.6006 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.1599, allocations: 189.4 kB / 0.6008 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.16, allocations: 0 / 0.6008 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.16, allocations: 4 kB / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.16, allocations: 4 kB / 0.6008 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.1607, allocations: 195.7 kB / 0.601 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1618, allocations: 0.5055 MB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1629, allocations: 262.3 kB / 0.6017 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1629, allocations: 4 kB / 0.6017 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.163, allocations: 34.69 kB / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.163, allocations: 3.984 kB / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001093/0.1641, allocations: 317.5 kB / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1641, allocations: 55.41 kB / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1643, allocations: 136 kB / 0.6022 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1643, allocations: 29.7 kB / 0.6023 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.1644, allocations: 116.1 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1644, allocations: 19.75 kB / 0.6024 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.1644, allocations: 0 / 0.6024 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1646, allocations: 322.8 kB / 0.6027 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.1649, allocations: 87.92 kB / 0.6028 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.1652, allocations: 106.5 kB / 0.6029 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.1656, allocations: 91.92 kB / 0.603 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1656, allocations: 8 kB / 0.603 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007321/0.1663, allocations: 237.4 kB / 0.6032 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1663, allocations: 5.719 kB / 0.6032 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1663, allocations: 0 / 0.6032 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1664, allocations: 0 / 0.6032 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1667, allocations: 55.83 kB / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1667, allocations: 0 / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1669, allocations: 39.86 kB / 0.6033 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1669, allocations: 8.266 kB / 0.6033 GB, free: 1.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1671, allocations: 117.8 kB / 0.6034 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.1671, allocations: 7.906 kB / 0.6034 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/0.1679, allocations: 246.2 kB / 0.6037 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.168, allocations: 4 kB / 0.6037 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.168, allocations: 0 / 0.6037 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.168, allocations: 3.984 kB / 0.6037 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1682, allocations: 238.3 kB / 0.6039 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1682, allocations: 0 / 0.6039 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1685, allocations: 43.95 kB / 0.604 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1685, allocations: 0 / 0.604 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1685, allocations: 7.984 kB / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1685, allocations: 0 / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1685, allocations: 0 / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.1693, allocations: 323.2 kB / 0.6043 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1693, allocations: 85.02 kB / 0.6044 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1693, allocations: 0 / 0.6044 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.1697, allocations: 43.95 kB / 0.6044 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1697, allocations: 15.92 kB / 0.6044 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1697, allocations: 4 kB / 0.6044 GB, free: 132 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.1698, allocations: 103.2 kB / 0.6045 GB, free: 28 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1698, allocations: 0 / 0.6045 GB, free: 28 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002629/0.1701, allocations: 27.86 kB / 0.6045 GB, free: 0 / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2554/0.4254, allocations: 98.62 kB / 0.6046 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000749/0.4262, allocations: 197.5 kB / 0.6048 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4262, allocations: 1.156 kB / 0.6048 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.4265, allocations: 101.1 kB / 0.6049 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.4268, allocations: 5.891 kB / 0.6049 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.4274, allocations: 311.5 kB / 0.6052 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.4275, allocations: 0.7059 MB / 0.6059 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.735e-05/0.4276, allocations: 15.16 kB / 0.6059 GB, free: 40 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.4277, allocations: 13.92 kB / 0.6059 GB, free: 40 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.4277, allocations: 0 / 0.6059 GB, free: 40 MB / 0.4981 GB Notification: Performance of Templates: time 0.003121/0.4308, allocations: 1.301 MB / 0.6072 GB, free: 39.97 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: