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.001285/0.001285, allocations: 106.6 kB / 16.27 MB, free: 5.992 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.001199/0.001199, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002427/0.002427, allocations: 279.3 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.166/1.166, allocations: 178.5 MB / 0.5079 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 103.8 kB / 0.6071 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1716, allocations: 89.13 MB / 0.6941 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002596/0.1742, allocations: 1.442 MB / 0.6956 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005187/0.1747, allocations: 244.1 kB / 0.6958 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.1748, allocations: 0 / 0.6958 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.1748, allocations: 0 / 0.6958 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.1748, allocations: 7.875 kB / 0.6958 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1752, allocations: 55.8 kB / 0.6958 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.1752, allocations: 23.94 kB / 0.6959 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.301e-05/0.1753, allocations: 4 kB / 0.6959 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.1753, allocations: 11.98 kB / 0.6959 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.1754, allocations: 15.92 kB / 0.6959 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1754, allocations: 4 kB / 0.6959 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1755, allocations: 47.95 kB / 0.696 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.1756, allocations: 11.98 kB / 0.696 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.1756, allocations: 15.92 kB / 0.696 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1757, allocations: 47.81 kB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1757, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1757, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1758, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB 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.0004341/0.1762, allocations: 351.7 kB / 0.6964 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1762, allocations: 12.03 kB / 0.6964 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1763, allocations: 0.9375 kB / 0.6964 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1764, allocations: 164.4 kB / 0.6965 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1764, allocations: 8.375 kB / 0.6965 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.1764, allocations: 384 / 0.6965 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1766, allocations: 46.25 kB / 0.6966 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1766, allocations: 192 / 0.6966 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1766, allocations: 7.922 kB / 0.6966 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1766, allocations: 4 kB / 0.6966 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1768, allocations: 35.91 kB / 0.6966 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.1771, allocations: 249 kB / 0.6969 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1772, allocations: 38.5 kB / 0.6969 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.1773, allocations: 20.91 kB / 0.6969 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.178, allocations: 461.4 kB / 0.6974 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.178, allocations: 30.56 kB / 0.6974 GB, free: 12.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.178, allocations: 4 kB / 0.6974 GB, free: 12.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003358/0.1783, allocations: 89.48 kB / 0.6975 GB, free: 12.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1784, allocations: 51.41 kB / 0.6975 GB, free: 12.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.1785, allocations: 97.86 kB / 0.6976 GB, free: 12.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1785, allocations: 25.7 kB / 0.6976 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.1785, allocations: 88.12 kB / 0.6977 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.1786, allocations: 8.031 kB / 0.6977 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1786, allocations: 13.72 kB / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1787, allocations: 318.8 kB / 0.6981 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/0.1788, allocations: 11.98 kB / 0.6981 GB, free: 11.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.1789, allocations: 19.97 kB / 0.6981 GB, free: 11.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.179, allocations: 44.83 kB / 0.6981 GB, free: 11.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1791, allocations: 0 / 0.6981 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.1792, allocations: 73.53 kB / 0.6982 GB, free: 11.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1793, allocations: 4 kB / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1793, allocations: 0 / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1793, allocations: 0 / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.1794, allocations: 11.98 kB / 0.6982 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1794, allocations: 0 / 0.6982 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1794, allocations: 8.031 kB / 0.6982 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1794, allocations: 0 / 0.6982 GB, free: 11.57 MB / 0.545 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 (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.659e-05/0.1795, allocations: 121.3 kB / 0.6983 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1795, allocations: 3.984 kB / 0.6983 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.1798, allocations: 72.66 kB / 0.6984 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1798, allocations: 0 / 0.6984 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1798, allocations: 8.031 kB / 0.6984 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1798, allocations: 192 / 0.6984 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1799, allocations: 157.6 kB / 0.6986 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.18, allocations: 3.984 kB / 0.6986 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.18, allocations: 11.98 kB / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.18, allocations: 0 / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.18, allocations: 8 kB / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.18, allocations: 0 / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1801, allocations: 0 / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1803, allocations: 171.3 kB / 0.6988 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.1803, allocations: 77.11 kB / 0.6988 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1804, allocations: 0 / 0.6988 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1804, allocations: 7.984 kB / 0.6988 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1805, allocations: 4 kB / 0.6988 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1805, allocations: 4 kB / 0.6988 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.1805, allocations: 87.23 kB / 0.6989 GB, free: 10.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1805, allocations: 0 / 0.6989 GB, free: 10.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002243/0.1808, allocations: 20 kB / 0.6989 GB, free: 10.74 MB / 0.545 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 (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.000181/0.181, allocations: 114.7 kB / 0.6991 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1812, allocations: 39.97 kB / 0.6991 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1812, allocations: 0 / 0.6991 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.1813, allocations: 19.92 kB / 0.6991 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1815, allocations: 11.92 kB / 0.6991 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.1818, allocations: 139.1 kB / 0.6993 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.182, allocations: 0.6769 MB / 0.6999 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.1821, allocations: 11.44 kB / 0.6999 GB, free: 9.664 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.1821, allocations: 0 / 0.6999 GB, free: 9.664 MB / 0.545 GB Notification: Performance of Templates: time 0.002243/0.1843, allocations: 0.7701 MB / 0.7007 GB, free: 8.895 MB / 0.545 GB 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)