Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 99.86 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.001537/0.001537, allocations: 177.3 kB / 15.94 MB, free: 228 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.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.037/1.037, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 8 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 83.41 MB / 0.5973 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007084/0.1647, allocations: 311 kB / 0.5976 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004242/0.1651, allocations: 167.6 kB / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-06/0.1651, allocations: 0 / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.968e-06/0.1652, allocations: 0 / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.1652, allocations: 0 / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.1655, allocations: 47.45 kB / 0.5978 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.435e-05/0.1655, allocations: 0 / 0.5978 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1656, allocations: 7.922 kB / 0.5978 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/0.1656, allocations: 0 / 0.5978 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.423e-05/0.1656, allocations: 4 kB / 0.5978 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.1657, allocations: 0 / 0.5978 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1658, allocations: 67.88 kB / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-06/0.1658, allocations: 0 / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.1659, allocations: 25.7 kB / 0.5979 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.166, allocations: 19.97 kB / 0.5979 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.166, allocations: 0 / 0.5979 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.166, allocations: 0 / 0.5979 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.166, allocations: 0 / 0.5979 GB, free: 7.246 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002711/0.1663, allocations: 323.4 kB / 0.5982 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1663, allocations: 12.03 kB / 0.5982 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.1663, allocations: 0 / 0.5982 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1664, allocations: 167 kB / 0.5984 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1665, allocations: 0 / 0.5984 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1665, allocations: 0 / 0.5984 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.1666, allocations: 25.7 kB / 0.5984 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1666, allocations: 4 kB / 0.5984 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1666, allocations: 3.984 kB / 0.5984 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1666, allocations: 0 / 0.5984 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.1666, allocations: 3.938 kB / 0.5984 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.1668, allocations: 149.6 kB / 0.5986 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.643e-05/0.1668, allocations: 22.61 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/0.1676, allocations: 453.5 kB / 0.599 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1676, allocations: 34.5 kB / 0.5991 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1676, allocations: 4 kB / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.1678, allocations: 37.64 kB / 0.5991 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1678, allocations: 51.41 kB / 0.5991 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.1678, allocations: 89.86 kB / 0.5992 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1678, allocations: 25.7 kB / 0.5993 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.1679, allocations: 80.14 kB / 0.5993 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1679, allocations: 7.906 kB / 0.5993 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-06/0.1679, allocations: 0 / 0.5993 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.168, allocations: 319 kB / 0.5996 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.1681, allocations: 0 / 0.5996 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.1681, allocations: 0 / 0.5996 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.1681, allocations: 11.95 kB / 0.5997 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1681, allocations: 0 / 0.5997 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.356e-05/0.1682, allocations: 33.64 kB / 0.5997 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1682, allocations: 5.875 kB / 0.5997 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1682, allocations: 0 / 0.5997 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1682, allocations: 7.938 kB / 0.5997 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.1683, allocations: 96 / 0.5997 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1683, allocations: 4 kB / 0.5997 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.1683, allocations: 3.984 kB / 0.5997 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1683, allocations: 4 kB / 0.5997 GB, free: 5.098 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.782e-05/0.1684, allocations: 113.8 kB / 0.5998 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.1684, allocations: 0 / 0.5998 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.1685, allocations: 36.83 kB / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1685, allocations: 0 / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1685, allocations: 0 / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1685, allocations: 12 kB / 0.5999 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.095e-05/0.1686, allocations: 141.7 kB / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1686, allocations: 11.89 kB / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.1686, allocations: 0 / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1686, allocations: 0 / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.1687, allocations: 0 / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1687, allocations: 0 / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1687, allocations: 0 / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.708e-05/0.1687, allocations: 65.12 kB / 0.6001 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1688, allocations: 85 kB / 0.6002 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.1688, allocations: 0 / 0.6002 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.1688, allocations: 0 / 0.6002 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.1688, allocations: 4 kB / 0.6002 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1688, allocations: 0 / 0.6002 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.1689, allocations: 75.28 kB / 0.6002 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1689, allocations: 0 / 0.6002 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001998/0.1691, allocations: 19.98 kB / 0.6002 GB, free: 4.445 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 (1): * Single equations (assignments): 1 * 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.000212/0.1693, allocations: 115.3 kB / 0.6004 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.743e-05/0.1694, allocations: 7.938 kB / 0.6004 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1694, allocations: 0 / 0.6004 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-06/0.1694, allocations: 11.98 kB / 0.6004 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.505e-05/0.1695, allocations: 0 / 0.6004 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.1696, allocations: 79.11 kB / 0.6005 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1699, allocations: 0.677 MB / 0.6011 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.1699, allocations: 3.984 kB / 0.6011 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.1699, allocations: 7.438 kB / 0.6011 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1699, allocations: 0 / 0.6011 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.002365/0.1723, allocations: 399.7 kB / 0.6015 GB, free: 3.098 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: