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.001145/0.001145, allocations: 107.6 kB / 15.99 MB, free: 6.359 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.001169/0.001169, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.193/1.193, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 282.5 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8612/0.8612, allocations: 169.2 MB / 0.4985 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 98.47 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1514, allocations: 86.97 MB / 0.6803 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.00338/0.1549, allocations: 1.488 MB / 0.6817 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006304/0.1555, allocations: 244.9 kB / 0.682 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.1556, allocations: 4 kB / 0.682 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.1556, allocations: 7.922 kB / 0.682 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.1557, allocations: 0 / 0.682 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1561, allocations: 55.89 kB / 0.682 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.1562, allocations: 27.86 kB / 0.682 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.1563, allocations: 8 kB / 0.6821 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.1563, allocations: 4 kB / 0.6821 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.1564, allocations: 11.92 kB / 0.6821 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1564, allocations: 4 kB / 0.6821 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1566, allocations: 67.86 kB / 0.6821 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1566, allocations: 8 kB / 0.6821 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.1566, allocations: 11.92 kB / 0.6822 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1568, allocations: 35.94 kB / 0.6822 GB, free: 6.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1568, allocations: 0 / 0.6822 GB, free: 6.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1568, allocations: 0 / 0.6822 GB, free: 6.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1568, allocations: 0 / 0.6822 GB, free: 6.598 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.0005028/0.1573, allocations: 347.8 kB / 0.6825 GB, free: 6.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1574, allocations: 12.03 kB / 0.6825 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.1574, allocations: 4.844 kB / 0.6825 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1575, allocations: 160.4 kB / 0.6827 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1576, allocations: 8.312 kB / 0.6827 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1576, allocations: 8.344 kB / 0.6827 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1578, allocations: 50.19 kB / 0.6828 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1578, allocations: 4.188 kB / 0.6828 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1578, allocations: 3.938 kB / 0.6828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1578, allocations: 0 / 0.6828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1581, allocations: 35.95 kB / 0.6828 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1584, allocations: 240.9 kB / 0.683 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1586, allocations: 46.53 kB / 0.6831 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1587, allocations: 24.84 kB / 0.6831 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008986/0.1597, allocations: 461.5 kB / 0.6835 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1597, allocations: 34.56 kB / 0.6836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.1597, allocations: 0 / 0.6836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004552/0.1602, allocations: 77.64 kB / 0.6836 GB, free: 4.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1602, allocations: 51.41 kB / 0.6837 GB, free: 4.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.1603, allocations: 105.8 kB / 0.6838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1604, allocations: 25.83 kB / 0.6838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.1604, allocations: 92.05 kB / 0.6839 GB, free: 4.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1605, allocations: 4 kB / 0.6839 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1605, allocations: 9.719 kB / 0.6839 GB, free: 4.527 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1606, allocations: 314.8 kB / 0.6842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1608, allocations: 23.97 kB / 0.6842 GB, free: 4.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1609, allocations: 11.98 kB / 0.6843 GB, free: 4.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1611, allocations: 44.89 kB / 0.6843 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1611, allocations: 0 / 0.6843 GB, free: 4.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000277/0.1614, allocations: 73.5 kB / 0.6844 GB, free: 4.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1614, allocations: 6.031 kB / 0.6844 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1614, allocations: 0 / 0.6844 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1615, allocations: 0 / 0.6844 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1616, allocations: 16.02 kB / 0.6844 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1616, allocations: 3.938 kB / 0.6844 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.1617, allocations: 7.938 kB / 0.6844 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1617, allocations: 3.984 kB / 0.6844 GB, free: 4.016 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 8.063e-05/0.1618, allocations: 109.8 kB / 0.6845 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1618, allocations: 4 kB / 0.6845 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1621, allocations: 76.77 kB / 0.6846 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1621, allocations: 0 / 0.6846 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1622, allocations: 4 kB / 0.6846 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1622, allocations: 0 / 0.6846 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1624, allocations: 161.6 kB / 0.6847 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1624, allocations: 0 / 0.6847 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.1625, allocations: 8 kB / 0.6847 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1625, allocations: 3.938 kB / 0.6848 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1625, allocations: 0 / 0.6848 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1625, allocations: 0 / 0.6848 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1625, allocations: 11.95 kB / 0.6848 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1629, allocations: 159.5 kB / 0.6849 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1629, allocations: 89 kB / 0.685 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.163, allocations: 0 / 0.685 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1631, allocations: 4 kB / 0.685 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1631, allocations: 8.203 kB / 0.685 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1631, allocations: 3.938 kB / 0.685 GB, free: 3.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.1632, allocations: 87.27 kB / 0.6851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1632, allocations: 0 / 0.6851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.1636, allocations: 12 kB / 0.6851 GB, free: 3.188 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.0002368/0.1638, allocations: 123.2 kB / 0.6852 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1641, allocations: 35.91 kB / 0.6853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1641, allocations: 0 / 0.6853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1643, allocations: 23.97 kB / 0.6853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1646, allocations: 3.938 kB / 0.6853 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.165, allocations: 139.4 kB / 0.6854 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1653, allocations: 0.6768 MB / 0.6861 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1653, allocations: 11.44 kB / 0.6861 GB, free: 2.109 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1653, allocations: 0 / 0.6861 GB, free: 2.109 MB / 494.1 MB Notification: Performance of Templates: time 0.002568/0.1679, allocations: 0.7773 MB / 0.6869 GB, free: 1.336 MB / 494.1 MB 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)