Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001461/0.001461, allocations: 187.7 kB / 17.29 MB, free: 5.48 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 290.5 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.9111/0.9111, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 94.58 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1532, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001681/0.1549, allocations: 0.5759 MB / 0.6822 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.1553, allocations: 191.4 kB / 0.6823 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.1554, allocations: 0 / 0.6823 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.808e-06/0.1554, allocations: 0 / 0.6823 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.1554, allocations: 0 / 0.6823 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1558, allocations: 58.7 kB / 0.6824 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.403e-05/0.1558, allocations: 0 / 0.6824 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.1558, allocations: 3.984 kB / 0.6824 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.309e-05/0.1559, allocations: 8 kB / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.644e-05/0.1559, allocations: 3.938 kB / 0.6824 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.1559, allocations: 4 kB / 0.6824 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1561, allocations: 51.89 kB / 0.6825 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.1561, allocations: 3.984 kB / 0.6825 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.1561, allocations: 3.938 kB / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1562, allocations: 31.95 kB / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1562, allocations: 0 / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1562, allocations: 0 / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1562, allocations: 4 kB / 0.6825 GB, free: 6.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002574/0.1565, allocations: 323.6 kB / 0.6828 GB, free: 6.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1565, allocations: 8.031 kB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1566, allocations: 0.9375 kB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.1567, allocations: 164.3 kB / 0.683 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1567, allocations: 4.375 kB / 0.683 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.1567, allocations: 384 / 0.683 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.1568, allocations: 30.27 kB / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1568, allocations: 192 / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1568, allocations: 3.938 kB / 0.683 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1568, allocations: 7.984 kB / 0.683 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.1568, allocations: 4 kB / 0.683 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.1569, allocations: 141.7 kB / 0.6832 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.157, allocations: 22.55 kB / 0.6832 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.157, allocations: 8.859 kB / 0.6832 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/0.1577, allocations: 453.5 kB / 0.6836 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1577, allocations: 34.56 kB / 0.6837 GB, free: 5.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1577, allocations: 0 / 0.6837 GB, free: 5.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.1578, allocations: 37.64 kB / 0.6837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1579, allocations: 51.41 kB / 0.6837 GB, free: 4.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.1579, allocations: 89.86 kB / 0.6838 GB, free: 4.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1579, allocations: 29.77 kB / 0.6839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.158, allocations: 88.12 kB / 0.6839 GB, free: 4.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.158, allocations: 0 / 0.6839 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.158, allocations: 17.7 kB / 0.684 GB, free: 4.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.1581, allocations: 314.8 kB / 0.6843 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1581, allocations: 4 kB / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.1581, allocations: 4 kB / 0.6843 GB, free: 4.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.1582, allocations: 8.859 kB / 0.6843 GB, free: 4.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1582, allocations: 4.062 kB / 0.6843 GB, free: 4.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.182e-05/0.1582, allocations: 33.7 kB / 0.6843 GB, free: 4.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1583, allocations: 6.812 kB / 0.6843 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1583, allocations: 3.984 kB / 0.6843 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1583, allocations: 3.938 kB / 0.6843 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.1583, allocations: 11.88 kB / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1583, allocations: 0 / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.1584, allocations: 0 / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1584, allocations: 0 / 0.6843 GB, free: 4.309 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 (1): * Single equations (assignments): 1 * 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 5.819e-05/0.1584, allocations: 109.9 kB / 0.6844 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.1584, allocations: 0 / 0.6844 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.1585, allocations: 52.69 kB / 0.6845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1585, allocations: 0 / 0.6845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1585, allocations: 0 / 0.6845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1585, allocations: 0 / 0.6845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.51e-05/0.1586, allocations: 141.7 kB / 0.6846 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1586, allocations: 0 / 0.6846 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.1586, allocations: 4 kB / 0.6846 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1587, allocations: 3.984 kB / 0.6846 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1587, allocations: 7.969 kB / 0.6846 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1587, allocations: 3.984 kB / 0.6847 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1587, allocations: 3.938 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.51e-05/0.1587, allocations: 57.14 kB / 0.6847 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.1588, allocations: 81.02 kB / 0.6848 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.1588, allocations: 3.938 kB / 0.6848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.1588, allocations: 0 / 0.6848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.1588, allocations: 8.016 kB / 0.6848 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.1588, allocations: 0 / 0.6848 GB, free: 3.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.1589, allocations: 75.28 kB / 0.6849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1589, allocations: 0 / 0.6849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.1591, allocations: 12 kB / 0.6849 GB, free: 3.652 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 (1): * Single equations (assignments): 1 * 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.0001793/0.1593, allocations: 127.2 kB / 0.685 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.279e-05/0.1593, allocations: 11.94 kB / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1593, allocations: 0 / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.1594, allocations: 0 / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1595, allocations: 5.375 kB / 0.685 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.1597, allocations: 69.08 kB / 0.6851 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1599, allocations: 0.669 MB / 0.6857 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.1599, allocations: 3.984 kB / 0.6857 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.1599, allocations: 15.56 kB / 0.6858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1599, allocations: 0 / 0.6858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Templates: time 0.002201/0.1621, allocations: 413.1 kB / 0.6862 GB, free: 2.289 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)