Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009219, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00766/0.007661, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 267 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 18.47 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1679, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006556/0.1686, allocations: 312 kB / 0.6854 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004426/0.169, allocations: 204.6 kB / 0.6856 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-06/0.1691, allocations: 0 / 0.6856 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1691, allocations: 0.625 kB / 0.6856 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.548e-06/0.1691, allocations: 1.906 kB / 0.6856 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1694, allocations: 43.89 kB / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.584e-05/0.1694, allocations: 0 / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.1694, allocations: 0 / 0.6857 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.084e-05/0.1695, allocations: 4 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.765e-05/0.1695, allocations: 2.562 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.1695, allocations: 0 / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1697, allocations: 63.88 kB / 0.6857 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-06/0.1697, allocations: 3.938 kB / 0.6857 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1697, allocations: 37.62 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1698, allocations: 35.95 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1699, allocations: 0 / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1699, allocations: 0.625 kB / 0.6858 GB, free: 14.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1699, allocations: 1.188 kB / 0.6858 GB, free: 14.38 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00026/0.1701, allocations: 315.6 kB / 0.6861 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1702, allocations: 8.594 kB / 0.6861 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.1702, allocations: 8.875 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1703, allocations: 161 kB / 0.6863 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1704, allocations: 2.344 kB / 0.6863 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.1704, allocations: 4.359 kB / 0.6863 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.671e-05/0.1705, allocations: 30.2 kB / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1705, allocations: 192 / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1705, allocations: 8.688 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1705, allocations: 0 / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.1705, allocations: 7.438 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1706, allocations: 145.7 kB / 0.6865 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.156e-05/0.1707, allocations: 18.61 kB / 0.6865 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.1707, allocations: 4.859 kB / 0.6865 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/0.1714, allocations: 465 kB / 0.6869 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1714, allocations: 34.5 kB / 0.687 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.1714, allocations: 0 / 0.687 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.00011/0.1715, allocations: 41.61 kB / 0.687 GB, free: 12.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1716, allocations: 52.16 kB / 0.6871 GB, free: 12.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.837e-05/0.1716, allocations: 93.86 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1716, allocations: 28.67 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.1717, allocations: 80.14 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1717, allocations: 4 kB / 0.6873 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.1717, allocations: 13.66 kB / 0.6873 GB, free: 12.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1718, allocations: 310.8 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.1718, allocations: 0 / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.1718, allocations: 0.7812 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.1719, allocations: 18.5 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1719, allocations: 0 / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.483e-05/0.1719, allocations: 33.7 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1719, allocations: 9.875 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.172, allocations: 0.6562 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.172, allocations: 3.938 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-05/0.172, allocations: 1.688 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.172, allocations: 0 / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.172, allocations: 4.281 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.172, allocations: 0 / 0.6876 GB, free: 12.21 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.1721, allocations: 112.6 kB / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.1721, allocations: 0 / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.1722, allocations: 45.17 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1722, allocations: 1.031 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1722, allocations: 4 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1722, allocations: 0 / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.1723, allocations: 150.7 kB / 0.6879 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1723, allocations: 3.938 kB / 0.6879 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.1723, allocations: 0 / 0.6879 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1723, allocations: 8.25 kB / 0.6879 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1724, allocations: 3.938 kB / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1724, allocations: 0 / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1724, allocations: 0 / 0.688 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.873e-05/0.1724, allocations: 64.97 kB / 0.688 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.1725, allocations: 77.11 kB / 0.6881 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-06/0.1725, allocations: 7.938 kB / 0.6881 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-06/0.1725, allocations: 0 / 0.6881 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.1725, allocations: 4.031 kB / 0.6881 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1725, allocations: 0 / 0.6881 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.1725, allocations: 75.28 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1726, allocations: 0 / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.1727, allocations: 16 kB / 0.6882 GB, free: 11.55 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 (1): * Single equations (assignments): 1 * 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.0001784/0.1729, allocations: 127.2 kB / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.499e-05/0.173, allocations: 0 / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.173, allocations: 4 kB / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.173, allocations: 0 / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1731, allocations: 1.375 kB / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001536/0.1733, allocations: 86.69 kB / 0.6884 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1735, allocations: 0.6692 MB / 0.689 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.074e-05/0.1736, allocations: 0 / 0.689 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.1736, allocations: 11.56 kB / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1736, allocations: 0 / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of Templates: time 0.002534/0.1761, allocations: 407.1 kB / 0.6894 GB, free: 10.2 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)