Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.007106/0.007106, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 270.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 12.77 kB / 0.5986 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1642, allocations: 88.56 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001362/0.1656, allocations: 1.155 MB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.1661, allocations: 240.2 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1661, allocations: 0 / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.1661, allocations: 2.938 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.1662, allocations: 0 / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1664, allocations: 47.89 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.1665, allocations: 23.86 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.1666, allocations: 8 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.1666, allocations: 7.984 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.062e-05/0.1666, allocations: 5.406 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1667, allocations: 4 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1668, allocations: 67.86 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.1668, allocations: 4.594 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1669, allocations: 37.62 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.167, allocations: 52.55 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.167, allocations: 0 / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.167, allocations: 2.281 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.167, allocations: 0 / 0.6867 GB, free: 13.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003967/0.1674, allocations: 348.3 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1674, allocations: 8.031 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.1675, allocations: 9.344 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1676, allocations: 169.1 kB / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1676, allocations: 384 / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.1676, allocations: 1.344 kB / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1678, allocations: 55.45 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1678, allocations: 192 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1678, allocations: 11.41 kB / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1678, allocations: 0 / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.168, allocations: 43.91 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.1683, allocations: 246.2 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1684, allocations: 44.31 kB / 0.6876 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.1685, allocations: 30.81 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/0.1692, allocations: 457.5 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1692, allocations: 34.56 kB / 0.6881 GB, free: 11.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1692, allocations: 0 / 0.6881 GB, free: 11.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000363/0.1696, allocations: 97.58 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1696, allocations: 55.41 kB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.1697, allocations: 101.8 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1697, allocations: 25.7 kB / 0.6884 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.1698, allocations: 84.12 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1698, allocations: 15.97 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.1698, allocations: 13.72 kB / 0.6885 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.1699, allocations: 310.8 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.17, allocations: 19.98 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.1701, allocations: 27.97 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1703, allocations: 48.77 kB / 0.6889 GB, free: 10.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1703, allocations: 0 / 0.6889 GB, free: 10.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000231/0.1705, allocations: 85.56 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1705, allocations: 4 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1706, allocations: 4 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1706, allocations: 0 / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.1706, allocations: 11.98 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1707, allocations: 4 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1707, allocations: 15.97 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1707, allocations: 4 kB / 0.689 GB, free: 10.77 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 (2): * Single equations (assignments): 2 * 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 7.203e-05/0.1708, allocations: 111.1 kB / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1708, allocations: 7.922 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1711, allocations: 88.72 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1711, allocations: 0 / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1711, allocations: 4 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1711, allocations: 0 / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1713, allocations: 157.6 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1713, allocations: 0 / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1713, allocations: 11.98 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1713, allocations: 4.031 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1713, allocations: 0 / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1713, allocations: 0 / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1714, allocations: 0 / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1716, allocations: 183.4 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.1717, allocations: 77.11 kB / 0.6896 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1717, allocations: 3.984 kB / 0.6896 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1718, allocations: 8 kB / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.1718, allocations: 0 / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1718, allocations: 3.984 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.1718, allocations: 79.28 kB / 0.6897 GB, free: 9.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1719, allocations: 4.031 kB / 0.6897 GB, free: 9.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1721, allocations: 15.91 kB / 0.6897 GB, free: 9.926 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 (2): * Single equations (assignments): 2 * 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.0001787/0.1723, allocations: 123.2 kB / 0.6899 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1725, allocations: 43.97 kB / 0.6899 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1725, allocations: 0 / 0.6899 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.1726, allocations: 23.92 kB / 0.6899 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1728, allocations: 19.86 kB / 0.6899 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.1731, allocations: 112.8 kB / 0.6901 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1733, allocations: 0.677 MB / 0.6907 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.1733, allocations: 0 / 0.6907 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.1734, allocations: 7.438 kB / 0.6907 GB, free: 8.863 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1734, allocations: 0 / 0.6907 GB, free: 8.863 MB / 494.1 MB Notification: Performance of Templates: time 0.002508/0.1759, allocations: 0.593 MB / 0.6913 GB, free: 8.277 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)