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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001443/0.001443, allocations: 105 kB / 16.41 MB, free: 6.465 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.00161/0.001611, allocations: 187 kB / 17.34 MB, free: 5.719 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8508/0.8508, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 68.98 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1468, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.0028/0.1496, allocations: 1.77 MB / 0.678 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1507, allocations: 0.667 MB / 0.6787 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.1508, allocations: 0 / 0.6787 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.1508, allocations: 11.86 kB / 0.6787 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.838e-05/0.1509, allocations: 15.8 kB / 0.6787 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.1515, allocations: 166.7 kB / 0.6789 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1516, allocations: 131.6 kB / 0.679 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1518, allocations: 48.95 kB / 0.6791 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1519, allocations: 59.84 kB / 0.6791 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.152, allocations: 51.75 kB / 0.6792 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.152, allocations: 8 kB / 0.6792 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1521, allocations: 47.91 kB / 0.6792 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.1522, allocations: 35.89 kB / 0.6792 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.1522, allocations: 55.72 kB / 0.6793 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1524, allocations: 155.4 kB / 0.6794 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1525, allocations: 4 kB / 0.6795 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1525, allocations: 0 / 0.6795 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1525, allocations: 0 / 0.6795 GB, free: 7.133 MB / 0.5137 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.0005828/0.1531, allocations: 438.9 kB / 0.6799 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1531, allocations: 8.031 kB / 0.6799 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.154, allocations: 108.7 kB / 0.68 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1542, allocations: 180.1 kB / 0.6802 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.1543, allocations: 67.95 kB / 0.6802 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1543, allocations: 12.38 kB / 0.6802 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.1548, allocations: 179.3 kB / 0.6804 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1549, allocations: 0 / 0.6804 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1549, allocations: 4 kB / 0.6804 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1549, allocations: 4 kB / 0.6804 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.1556, allocations: 159.8 kB / 0.6806 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1567, allocations: 477.9 kB / 0.681 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1578, allocations: 214.3 kB / 0.6812 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.1581, allocations: 84.91 kB / 0.6813 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1582, allocations: 7.922 kB / 0.6813 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1582, allocations: 30.56 kB / 0.6813 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1582, allocations: 0 / 0.6813 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001098/0.1593, allocations: 265.5 kB / 0.6816 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1593, allocations: 51.41 kB / 0.6816 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1595, allocations: 151.4 kB / 0.6818 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1595, allocations: 25.7 kB / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.1596, allocations: 116.2 kB / 0.6819 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1596, allocations: 11.75 kB / 0.6819 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.1597, allocations: 29.7 kB / 0.682 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1598, allocations: 322.8 kB / 0.6823 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.1601, allocations: 67.92 kB / 0.6823 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.1605, allocations: 102.4 kB / 0.6824 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.1611, allocations: 162.7 kB / 0.6826 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1611, allocations: 0 / 0.6826 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006913/0.1618, allocations: 201.4 kB / 0.6828 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1618, allocations: 8.062 kB / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1618, allocations: 0 / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1619, allocations: 3.938 kB / 0.6828 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.1621, allocations: 43.89 kB / 0.6828 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1621, allocations: 0 / 0.6828 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1624, allocations: 27.86 kB / 0.6829 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1624, allocations: 4 kB / 0.6829 GB, free: 3.383 MB / 0.5137 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 9.458e-05/0.1625, allocations: 117.8 kB / 0.683 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1625, allocations: 7.906 kB / 0.683 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007551/0.1633, allocations: 218 kB / 0.6832 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1633, allocations: 0 / 0.6832 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1633, allocations: 0 / 0.6832 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1633, allocations: 3.938 kB / 0.6832 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1636, allocations: 245.9 kB / 0.6834 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1636, allocations: 0 / 0.6834 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1638, allocations: 31.95 kB / 0.6835 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1638, allocations: 0 / 0.6835 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1639, allocations: 11.92 kB / 0.6835 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1639, allocations: 0 / 0.6835 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1639, allocations: 4 kB / 0.6835 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.1646, allocations: 291.4 kB / 0.6838 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1646, allocations: 81.02 kB / 0.6838 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1647, allocations: 11.94 kB / 0.6838 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.165, allocations: 31.89 kB / 0.6839 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.165, allocations: 0 / 0.6839 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.1651, allocations: 11.98 kB / 0.6839 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.1651, allocations: 109.1 kB / 0.684 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1651, allocations: 0 / 0.684 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002593/0.1654, allocations: 23.91 kB / 0.684 GB, free: 2.109 MB / 0.5137 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.0001268/0.1655, allocations: 99.25 kB / 0.6841 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006747/0.1662, allocations: 163.8 kB / 0.6843 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1662, allocations: 0 / 0.6843 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1666, allocations: 84.05 kB / 0.6843 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1669, allocations: 11.98 kB / 0.6843 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.1675, allocations: 269.1 kB / 0.6846 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1678, allocations: 0.7079 MB / 0.6853 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.1679, allocations: 19.42 kB / 0.6853 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1679, allocations: 0 / 0.6853 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of Templates: time 0.003114/0.171, allocations: 1.6 MB / 0.6869 GB, free: 15.09 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (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)