Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00582/0.00582, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001643/0.001644, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 271.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9465/0.9465, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 95.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.162, allocations: 86.98 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002258/0.1643, allocations: 1.421 MB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.1648, allocations: 256 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.1648, allocations: 0 / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.1649, allocations: 0 / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.1649, allocations: 3.938 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1653, allocations: 59.81 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.1653, allocations: 27.92 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.1654, allocations: 7.984 kB / 0.7681 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.47e-05/0.1654, allocations: 11.94 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.1655, allocations: 15.91 kB / 0.7681 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1655, allocations: 4 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1656, allocations: 55.95 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1657, allocations: 7.922 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1657, allocations: 11.94 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1658, allocations: 47.92 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1658, allocations: 0 / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1658, allocations: 0 / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.994e-06/0.1659, allocations: 3.938 kB / 0.7683 GB, free: 6.449 MB / 0.5606 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.0004048/0.1663, allocations: 355.4 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1663, allocations: 8.031 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.1663, allocations: 8.875 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.1664, allocations: 164.3 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1665, allocations: 4.375 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1665, allocations: 8.375 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1666, allocations: 50.23 kB / 0.7688 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1667, allocations: 192 / 0.7688 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1667, allocations: 11.86 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1667, allocations: 0 / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1668, allocations: 31.95 kB / 0.7689 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.1671, allocations: 245 kB / 0.7691 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1673, allocations: 42.5 kB / 0.7692 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.1674, allocations: 20.89 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.168, allocations: 457.5 kB / 0.7696 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.168, allocations: 42.48 kB / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1681, allocations: 0 / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000333/0.1684, allocations: 73.66 kB / 0.7697 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1684, allocations: 63.52 kB / 0.7698 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.1685, allocations: 97.86 kB / 0.7699 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1685, allocations: 25.7 kB / 0.7699 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.1686, allocations: 80.14 kB / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1686, allocations: 7.844 kB / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1686, allocations: 21.7 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1687, allocations: 310.8 kB / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1688, allocations: 19.98 kB / 0.7703 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.1689, allocations: 19.92 kB / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1691, allocations: 40.81 kB / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1691, allocations: 0 / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001845/0.1692, allocations: 61.61 kB / 0.7704 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1693, allocations: 16.08 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1693, allocations: 0 / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1693, allocations: 0 / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.1694, allocations: 4 kB / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1694, allocations: 0 / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1694, allocations: 7.984 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.1694, allocations: 4 kB / 0.7705 GB, free: 3.875 MB / 0.5606 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 6.884e-05/0.1695, allocations: 118.4 kB / 0.7706 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1695, allocations: 11.84 kB / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.1698, allocations: 72.78 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1698, allocations: 7.984 kB / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1698, allocations: 3.938 kB / 0.7707 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1698, allocations: 0 / 0.7707 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1699, allocations: 157.6 kB / 0.7708 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1699, allocations: 0 / 0.7708 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.17, allocations: 11.98 kB / 0.7708 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.17, allocations: 4.031 kB / 0.7708 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.17, allocations: 0 / 0.7708 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.17, allocations: 0 / 0.7708 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.17, allocations: 3.984 kB / 0.7708 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1703, allocations: 163.4 kB / 0.771 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1703, allocations: 77.11 kB / 0.7711 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1703, allocations: 8.031 kB / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.1704, allocations: 7.984 kB / 0.7711 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1705, allocations: 4 kB / 0.7711 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1705, allocations: 0 / 0.7711 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.1705, allocations: 83.27 kB / 0.7712 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1705, allocations: 0 / 0.7712 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002271/0.1707, allocations: 16 kB / 0.7712 GB, free: 3.043 MB / 0.5606 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.0001806/0.1709, allocations: 123.2 kB / 0.7713 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1711, allocations: 35.95 kB / 0.7713 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1711, allocations: 3.938 kB / 0.7713 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.1712, allocations: 15.98 kB / 0.7714 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1714, allocations: 16.33 kB / 0.7714 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.1717, allocations: 109.5 kB / 0.7715 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.1719, allocations: 0.6768 MB / 0.7721 GB, free: 2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.904e-05/0.1719, allocations: 0 / 0.7721 GB, free: 2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1719, allocations: 7.438 kB / 0.7722 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1719, allocations: 0 / 0.7722 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of Templates: time 0.002557/0.1745, allocations: 0.6655 MB / 0.7728 GB, free: 1.328 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)