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.001352/0.001352, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001465/0.001465, allocations: 194.3 kB / 16.25 MB, free: 6.637 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.522/1.522, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002592/0.002592, allocations: 290.8 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.507 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 95.59 kB / 0.6059 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.162, allocations: 89.16 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002583/0.1646, allocations: 1.496 MB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004974/0.1651, allocations: 252.4 kB / 0.6947 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1652, allocations: 4 kB / 0.6947 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.1652, allocations: 0 / 0.6947 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.1652, allocations: 3.938 kB / 0.6947 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1656, allocations: 51.95 kB / 0.6947 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.1656, allocations: 27.86 kB / 0.6948 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.1657, allocations: 4.781 kB / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.1657, allocations: 7.984 kB / 0.6948 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.1658, allocations: 13.66 kB / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1658, allocations: 4 kB / 0.6948 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1659, allocations: 63.88 kB / 0.6949 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.166, allocations: 11.97 kB / 0.6949 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.166, allocations: 7.938 kB / 0.6949 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1661, allocations: 59.86 kB / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1661, allocations: 0 / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1661, allocations: 0 / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1661, allocations: 4 kB / 0.6949 GB, free: 2.703 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.0004592/0.1666, allocations: 351.6 kB / 0.6953 GB, free: 2.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1667, allocations: 8.031 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.1667, allocations: 4.922 kB / 0.6953 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1668, allocations: 164.4 kB / 0.6954 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1668, allocations: 8.375 kB / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1669, allocations: 384 / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.167, allocations: 50.23 kB / 0.6955 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.167, allocations: 192 / 0.6955 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1671, allocations: 3.938 kB / 0.6955 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1671, allocations: 3.938 kB / 0.6955 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1672, allocations: 31.97 kB / 0.6955 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.1676, allocations: 252.9 kB / 0.6958 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1677, allocations: 38.5 kB / 0.6958 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.1678, allocations: 24.89 kB / 0.6958 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.1685, allocations: 461.4 kB / 0.6963 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1686, allocations: 38.48 kB / 0.6963 GB, free: 1.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.1686, allocations: 0 / 0.6963 GB, free: 1.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.1689, allocations: 77.66 kB / 0.6964 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.169, allocations: 55.53 kB / 0.6964 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.169, allocations: 102 kB / 0.6965 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1691, allocations: 25.7 kB / 0.6966 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1691, allocations: 84.14 kB / 0.6966 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.1691, allocations: 3.906 kB / 0.6966 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.1692, allocations: 17.7 kB / 0.6967 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1693, allocations: 314.8 kB / 0.697 GB, free: 324 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.1694, allocations: 19.98 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.1695, allocations: 15.92 kB / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1696, allocations: 40.81 kB / 0.697 GB, free: 244 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1696, allocations: 0 / 0.697 GB, free: 244 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.1698, allocations: 69.67 kB / 0.6971 GB, free: 168 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1699, allocations: 4 kB / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1699, allocations: 4.031 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1699, allocations: 3.984 kB / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.17, allocations: 12 kB / 0.6971 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.17, allocations: 3.984 kB / 0.6971 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.17, allocations: 7.984 kB / 0.6971 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.17, allocations: 3.938 kB / 0.6971 GB, free: 128 kB / 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.445e-05/0.1701, allocations: 113.8 kB / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1702, allocations: 7.984 kB / 0.6973 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.1704, allocations: 72.67 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1704, allocations: 0 / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1704, allocations: 3.984 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1704, allocations: 4 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1706, allocations: 157.6 kB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1706, allocations: 0 / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.25e-05/0.1707, allocations: 12.02 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1707, allocations: 0 / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1707, allocations: 0 / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1707, allocations: 4 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1707, allocations: 0 / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.171, allocations: 171.3 kB / 0.6977 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.171, allocations: 81.14 kB / 0.6977 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.171, allocations: 4 kB / 0.6977 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.1711, allocations: 7.984 kB / 0.6977 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.1712, allocations: 0 / 0.6977 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.1712, allocations: 0 / 0.6977 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.1712, allocations: 83.22 kB / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1712, allocations: 0 / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002372/0.1715, allocations: 23.98 kB / 0.6979 GB, free: 15.3 MB / 0.4981 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.000191/0.1717, allocations: 115.2 kB / 0.698 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1719, allocations: 35.95 kB / 0.698 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1719, allocations: 3.938 kB / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.172, allocations: 20.05 kB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1722, allocations: 12 kB / 0.698 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.1725, allocations: 105.6 kB / 0.6981 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1728, allocations: 0.6768 MB / 0.6988 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.1728, allocations: 0 / 0.6988 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.1728, allocations: 7.438 kB / 0.6988 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1728, allocations: 0 / 0.6988 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002904/0.1758, allocations: 0.6214 MB / 0.6994 GB, free: 13.64 MB / 0.4981 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)