Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00125/0.00125, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 280.9 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9295/0.9295, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 103.3 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1604, allocations: 86.98 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001904/0.1623, allocations: 0.642 MB / 0.6801 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005135/0.1629, allocations: 207.3 kB / 0.6803 GB, free: 360 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.114e-05/0.1629, allocations: 0.5 kB / 0.6803 GB, free: 360 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.1629, allocations: 0 / 0.6803 GB, free: 360 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.1629, allocations: 4 kB / 0.6803 GB, free: 356 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1633, allocations: 43.89 kB / 0.6803 GB, free: 312 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.912e-05/0.1633, allocations: 0 / 0.6803 GB, free: 312 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.1634, allocations: 7.984 kB / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.1634, allocations: 0 / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.652e-05/0.1634, allocations: 0 / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.1634, allocations: 0 / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1636, allocations: 63.88 kB / 0.6804 GB, free: 240 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1636, allocations: 4 kB / 0.6804 GB, free: 236 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.1636, allocations: 7.922 kB / 0.6804 GB, free: 228 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1638, allocations: 39.95 kB / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1638, allocations: 0 / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1638, allocations: 0 / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1638, allocations: 0 / 0.6804 GB, free: 188 kB / 478.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.0003725/0.1642, allocations: 315.6 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1642, allocations: 8.031 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1643, allocations: 0.9375 kB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1644, allocations: 164.4 kB / 0.6809 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1644, allocations: 4.312 kB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1644, allocations: 4.375 kB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1645, allocations: 34.27 kB / 0.6809 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1645, allocations: 192 / 0.6809 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1646, allocations: 3.938 kB / 0.6809 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1646, allocations: 0 / 0.6809 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.1646, allocations: 3.984 kB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1648, allocations: 153.7 kB / 0.6811 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.1648, allocations: 18.52 kB / 0.6811 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.1649, allocations: 16.95 kB / 0.6811 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.1657, allocations: 453.5 kB / 0.6816 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1657, allocations: 30.56 kB / 0.6816 GB, free: 14.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1657, allocations: 0 / 0.6816 GB, free: 14.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.1658, allocations: 41.64 kB / 0.6816 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1659, allocations: 51.41 kB / 0.6817 GB, free: 14.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.112e-05/0.1659, allocations: 89.86 kB / 0.6818 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1659, allocations: 29.7 kB / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.166, allocations: 80.14 kB / 0.6819 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.166, allocations: 7.875 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.166, allocations: 13.7 kB / 0.6819 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.1661, allocations: 318.9 kB / 0.6822 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.1662, allocations: 4 kB / 0.6822 GB, free: 14.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.1662, allocations: 0 / 0.6822 GB, free: 14.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.1662, allocations: 12.86 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1662, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.602e-05/0.1663, allocations: 29.7 kB / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1663, allocations: 4 kB / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1663, allocations: 0 / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1663, allocations: 3.938 kB / 0.6822 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.35e-05/0.1663, allocations: 12.08 kB / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1663, allocations: 0 / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.1664, allocations: 4.219 kB / 0.6823 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1664, allocations: 0 / 0.6823 GB, free: 13.99 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.519e-05/0.1664, allocations: 111.2 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.1664, allocations: 0 / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.1665, allocations: 48.69 kB / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1665, allocations: 0 / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1665, allocations: 4.031 kB / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1665, allocations: 0 / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.694e-05/0.1666, allocations: 141.7 kB / 0.6826 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1666, allocations: 4 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.1666, allocations: 0 / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1666, allocations: 0 / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1667, allocations: 3.938 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1667, allocations: 0 / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1667, allocations: 0 / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.687e-05/0.1667, allocations: 72.97 kB / 0.6826 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.1668, allocations: 77.11 kB / 0.6827 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.1668, allocations: 3.938 kB / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.1668, allocations: 0 / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.1668, allocations: 0 / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1668, allocations: 7.984 kB / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.935e-05/0.1668, allocations: 75.28 kB / 0.6828 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.1668, allocations: 0 / 0.6828 GB, free: 13.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000189/0.167, allocations: 19.94 kB / 0.6828 GB, free: 13.33 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.0002073/0.1672, allocations: 115.3 kB / 0.6829 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.218e-05/0.1673, allocations: 11.98 kB / 0.6829 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1673, allocations: 3.938 kB / 0.6829 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-06/0.1673, allocations: 4 kB / 0.6829 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1675, allocations: 9.609 kB / 0.6829 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.1676, allocations: 70.77 kB / 0.683 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1679, allocations: 0.6731 MB / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.244e-05/0.1679, allocations: 0 / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.168, allocations: 11.42 kB / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.168, allocations: 0 / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of Templates: time 0.00236/0.1703, allocations: 405 kB / 0.6841 GB, free: 11.98 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)