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.001079/0.001079, allocations: 119.1 kB / 16.37 MB, free: 5.984 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.001073/0.001073, allocations: 193.5 kB / 17.31 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 291 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8935/0.8935, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 95.33 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1549, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002491/0.1574, allocations: 1.426 MB / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.158, allocations: 252 kB / 0.6832 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.158, allocations: 0 / 0.6832 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.1581, allocations: 3.938 kB / 0.6832 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.1581, allocations: 0 / 0.6832 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1585, allocations: 74.86 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.1586, allocations: 12 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.1587, allocations: 15.98 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.1587, allocations: 4 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.1588, allocations: 15.92 kB / 0.6834 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1588, allocations: 0 / 0.6834 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1589, allocations: 67.86 kB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.159, allocations: 0 / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.159, allocations: 11.94 kB / 0.6834 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1591, allocations: 55.86 kB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1592, allocations: 0 / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1592, allocations: 0 / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1592, allocations: 4 kB / 0.6835 GB, free: 5.508 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.0005147/0.1597, allocations: 343.5 kB / 0.6838 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1597, allocations: 12.03 kB / 0.6838 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.1598, allocations: 8.844 kB / 0.6838 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.16, allocations: 164.3 kB / 0.684 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.16, allocations: 4.375 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.16, allocations: 384 / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1602, allocations: 58.17 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1602, allocations: 192 / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1602, allocations: 3.938 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1602, allocations: 0 / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1604, allocations: 35.95 kB / 0.6841 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1608, allocations: 241 kB / 0.6843 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1609, allocations: 46.44 kB / 0.6844 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.161, allocations: 28.89 kB / 0.6844 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.1617, allocations: 457.5 kB / 0.6848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1617, allocations: 34.56 kB / 0.6849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1617, allocations: 0 / 0.6849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003312/0.1621, allocations: 85.58 kB / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1621, allocations: 51.41 kB / 0.685 GB, free: 3.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.1622, allocations: 97.86 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1622, allocations: 29.77 kB / 0.6851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.1623, allocations: 88.05 kB / 0.6852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1623, allocations: 7.984 kB / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.1623, allocations: 13.72 kB / 0.6852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1624, allocations: 310.8 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.1625, allocations: 19.98 kB / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.1626, allocations: 11.98 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1627, allocations: 44.88 kB / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1627, allocations: 0 / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.1629, allocations: 81.44 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1629, allocations: 6.812 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1629, allocations: 0 / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1629, allocations: 0 / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.163, allocations: 12.03 kB / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.163, allocations: 0 / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.1631, allocations: 15.92 kB / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1631, allocations: 0 / 0.6857 GB, free: 2.926 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.783e-05/0.1632, allocations: 109.8 kB / 0.6858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1632, allocations: 4.188 kB / 0.6858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1634, allocations: 84.69 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1634, allocations: 0 / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1634, allocations: 0 / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1634, allocations: 0 / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1636, allocations: 157.6 kB / 0.686 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1636, allocations: 0 / 0.686 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1636, allocations: 11.98 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1636, allocations: 0 / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1637, allocations: 0 / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1637, allocations: 3.938 kB / 0.6861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1637, allocations: 4.031 kB / 0.6861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1639, allocations: 163.5 kB / 0.6862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.1639, allocations: 85.02 kB / 0.6863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.164, allocations: 0 / 0.6863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.164, allocations: 7.984 kB / 0.6863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1641, allocations: 32 / 0.6863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1641, allocations: 4 kB / 0.6863 GB, free: 2.203 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.1641, allocations: 91.14 kB / 0.6864 GB, free: 2.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1641, allocations: 0 / 0.6864 GB, free: 2.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1644, allocations: 16 kB / 0.6864 GB, free: 2.098 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.0001842/0.1645, allocations: 123.2 kB / 0.6865 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1647, allocations: 35.97 kB / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1648, allocations: 0 / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.1648, allocations: 15.98 kB / 0.6866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1651, allocations: 7.938 kB / 0.6866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.1653, allocations: 101.7 kB / 0.6867 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1656, allocations: 0.6845 MB / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.921e-05/0.1656, allocations: 0 / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.1657, allocations: 11.44 kB / 0.6874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1657, allocations: 0 / 0.6874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of Templates: time 0.002947/0.1686, allocations: 0.665 MB / 0.688 GB, free: 404 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)