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.001061/0.001061, allocations: 103 kB / 16.35 MB, free: 5.875 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.001122/0.001122, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 288.8 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8837/0.8838, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 88.02 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1489, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002453/0.1514, allocations: 1.431 MB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.1519, allocations: 240.1 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.1519, allocations: 0 / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.152, allocations: 0 / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.152, allocations: 3.938 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1523, allocations: 63.81 kB / 0.6833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.1524, allocations: 23.92 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.336e-05/0.1525, allocations: 8 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.1525, allocations: 11.94 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.1526, allocations: 7.922 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.1526, allocations: 4 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1527, allocations: 63.92 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.1527, allocations: 4 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1527, allocations: 7.938 kB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1529, allocations: 51.92 kB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1529, allocations: 3.938 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1529, allocations: 3.938 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1529, allocations: 4 kB / 0.6835 GB, free: 5.523 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.0003753/0.1533, allocations: 345 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1533, allocations: 8.031 kB / 0.6838 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.1533, allocations: 8.844 kB / 0.6838 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.1534, allocations: 160.4 kB / 0.684 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.1535, allocations: 384 / 0.684 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1535, allocations: 4.312 kB / 0.684 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1536, allocations: 54.23 kB / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1536, allocations: 192 / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1537, allocations: 3.938 kB / 0.684 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1537, allocations: 4 kB / 0.684 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1538, allocations: 31.95 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.1541, allocations: 244.9 kB / 0.6843 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1542, allocations: 42.5 kB / 0.6843 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.1543, allocations: 28.89 kB / 0.6844 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.1549, allocations: 445.5 kB / 0.6848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1549, allocations: 42.56 kB / 0.6848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1549, allocations: 0 / 0.6848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002993/0.1552, allocations: 77.58 kB / 0.6849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.1553, allocations: 55.41 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.1553, allocations: 101.8 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1553, allocations: 25.83 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.1554, allocations: 88.05 kB / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1554, allocations: 4 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1555, allocations: 17.72 kB / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.1555, allocations: 314.8 kB / 0.6855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/0.1556, allocations: 19.98 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.1557, allocations: 11.98 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1558, allocations: 44.88 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1558, allocations: 3.938 kB / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.156, allocations: 69.52 kB / 0.6856 GB, free: 2.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.156, allocations: 8 kB / 0.6856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.156, allocations: 4 kB / 0.6856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1561, allocations: 0 / 0.6856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.1561, allocations: 15.95 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1562, allocations: 0 / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.1562, allocations: 11.92 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1562, allocations: 4 kB / 0.6857 GB, free: 2.953 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.189e-05/0.1563, allocations: 109.8 kB / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.1563, allocations: 192 / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.1565, allocations: 84.7 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1565, allocations: 0 / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1565, allocations: 0 / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1566, allocations: 0 / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1567, allocations: 161.6 kB / 0.686 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1567, allocations: 0 / 0.686 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.1568, allocations: 11.98 kB / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1568, allocations: 0 / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1568, allocations: 3.938 kB / 0.686 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1568, allocations: 0 / 0.686 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1568, allocations: 4.031 kB / 0.686 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.157, allocations: 167.4 kB / 0.6862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.1571, allocations: 81.02 kB / 0.6863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1571, allocations: 4 kB / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.1571, allocations: 3.984 kB / 0.6863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1572, allocations: 8.031 kB / 0.6863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1572, allocations: 0 / 0.6863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.1572, allocations: 83.28 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1572, allocations: 0 / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1575, allocations: 16 kB / 0.6864 GB, free: 2.129 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.0001689/0.1576, allocations: 115.2 kB / 0.6865 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1578, allocations: 39.95 kB / 0.6865 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1579, allocations: 0 / 0.6865 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.1579, allocations: 19.98 kB / 0.6865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1582, allocations: 7.875 kB / 0.6865 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.1584, allocations: 113.7 kB / 0.6867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1587, allocations: 0.6768 MB / 0.6873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.856e-05/0.1587, allocations: 0 / 0.6873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.1587, allocations: 7.438 kB / 0.6873 GB, free: 1.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1587, allocations: 3.938 kB / 0.6873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of Templates: time 0.002502/0.1612, allocations: 0.6597 MB / 0.688 GB, free: 440 kB / 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)