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.001148/0.001148, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001134/0.001134, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00319/0.00319, allocations: 279 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 91.56 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1584, allocations: 86.99 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002822/0.1612, allocations: 1.495 MB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005091/0.1618, allocations: 237.6 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.1618, allocations: 0 / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.1618, allocations: 0.5625 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.1619, allocations: 11.92 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.1623, allocations: 47.97 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.1623, allocations: 23.86 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.1624, allocations: 8 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.1625, allocations: 3.984 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.1625, allocations: 15.92 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1625, allocations: 4 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1627, allocations: 63.88 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.1627, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.1627, allocations: 15.94 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1629, allocations: 59.84 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1629, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1629, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1629, allocations: 0 / 0.6816 GB, free: 15.05 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.0004765/0.1634, allocations: 343.8 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1634, allocations: 15.97 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1635, allocations: 4.844 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1636, allocations: 160.4 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1636, allocations: 8.375 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1636, allocations: 4.359 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1638, allocations: 50.23 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1638, allocations: 192 / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1638, allocations: 3.938 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1639, allocations: 0 / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.164, allocations: 39.89 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.1644, allocations: 248.9 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1645, allocations: 42.53 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.1646, allocations: 20.91 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.1653, allocations: 457.5 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1653, allocations: 34.56 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.514e-06/0.1653, allocations: 0 / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.1657, allocations: 85.48 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1657, allocations: 55.53 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.1658, allocations: 101.8 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1658, allocations: 25.7 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1659, allocations: 84.14 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1659, allocations: 11.89 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1659, allocations: 9.719 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1661, allocations: 314.8 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.1662, allocations: 19.98 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.1662, allocations: 11.98 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1664, allocations: 48.75 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1664, allocations: 0 / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.1666, allocations: 73.66 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1666, allocations: 6.188 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1666, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1666, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.1667, allocations: 8 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1667, allocations: 3.984 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.1668, allocations: 7.938 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1668, allocations: 0 / 0.6838 GB, free: 12.48 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 9.359e-05/0.1669, allocations: 115.1 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1669, allocations: 8 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.1671, allocations: 76.7 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1671, allocations: 0 / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1671, allocations: 0 / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1672, allocations: 0 / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.1673, allocations: 161.6 kB / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1673, allocations: 0 / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.1674, allocations: 8.016 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1674, allocations: 4 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.1674, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1674, allocations: 4 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1674, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1677, allocations: 167.9 kB / 0.6843 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1677, allocations: 81.05 kB / 0.6843 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1677, allocations: 4 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.1678, allocations: 7.984 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1678, allocations: 192 / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1678, allocations: 0 / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.1679, allocations: 91.25 kB / 0.6844 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1679, allocations: 0 / 0.6844 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1682, allocations: 16 kB / 0.6845 GB, free: 11.65 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.0001873/0.1684, allocations: 123.2 kB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1686, allocations: 31.97 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1686, allocations: 3.938 kB / 0.6846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.1687, allocations: 23.92 kB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1689, allocations: 20.05 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.1692, allocations: 101.6 kB / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1694, allocations: 0.6768 MB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.087e-05/0.1695, allocations: 0 / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.1695, allocations: 7.438 kB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1695, allocations: 0 / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Templates: time 0.002866/0.1724, allocations: 0.5979 MB / 0.686 GB, free: 10.01 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)