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.001163/0.001163, allocations: 105.2 kB / 15.99 MB, free: 6.348 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: 198.9 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002427/0.002427, allocations: 288.3 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.5 MB / 0.5076 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 99.84 kB / 0.6066 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1783, allocations: 89.14 MB / 0.6936 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001694/0.1801, allocations: 0.6455 MB / 0.6943 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004279/0.1805, allocations: 185.3 kB / 0.6944 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.151e-05/0.1805, allocations: 0 / 0.6944 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.1806, allocations: 4 kB / 0.6945 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-06/0.1806, allocations: 7.938 kB / 0.6945 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1809, allocations: 39.97 kB / 0.6945 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.879e-05/0.181, allocations: 0 / 0.6945 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.181, allocations: 0 / 0.6945 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.181, allocations: 4 kB / 0.6945 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.944e-05/0.181, allocations: 3.984 kB / 0.6945 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.1811, allocations: 3.938 kB / 0.6945 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1812, allocations: 63.88 kB / 0.6946 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.1812, allocations: 3.938 kB / 0.6946 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.312e-05/0.1812, allocations: 4 kB / 0.6946 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.1813, allocations: 31.89 kB / 0.6946 GB, free: 15.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1813, allocations: 0 / 0.6946 GB, free: 15.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1813, allocations: 0 / 0.6946 GB, free: 15.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1814, allocations: 0 / 0.6946 GB, free: 15.41 MB / 0.545 GB 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.0003057/0.1817, allocations: 319.6 kB / 0.6949 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1817, allocations: 8.031 kB / 0.6949 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.1817, allocations: 0.9375 kB / 0.6949 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.1818, allocations: 160.4 kB / 0.6951 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1819, allocations: 4.375 kB / 0.6951 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.1819, allocations: 4.375 kB / 0.6951 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.182, allocations: 30.27 kB / 0.6951 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.182, allocations: 192 / 0.6951 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.182, allocations: 7.922 kB / 0.6951 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.182, allocations: 0 / 0.6951 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.182, allocations: 7.938 kB / 0.6951 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1822, allocations: 141.7 kB / 0.6953 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.1822, allocations: 18.61 kB / 0.6953 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.1822, allocations: 8.859 kB / 0.6953 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.1829, allocations: 457.5 kB / 0.6957 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.183, allocations: 34.56 kB / 0.6958 GB, free: 13.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.183, allocations: 0 / 0.6958 GB, free: 13.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.1831, allocations: 41.58 kB / 0.6958 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1832, allocations: 55.41 kB / 0.6959 GB, free: 13.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/0.1832, allocations: 89.86 kB / 0.6959 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1832, allocations: 25.7 kB / 0.696 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.1833, allocations: 84.08 kB / 0.696 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1833, allocations: 3.984 kB / 0.696 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1833, allocations: 13.72 kB / 0.6961 GB, free: 13.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1834, allocations: 315 kB / 0.6964 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.1835, allocations: 0 / 0.6964 GB, free: 13.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.1835, allocations: 4 kB / 0.6964 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.1835, allocations: 8.859 kB / 0.6964 GB, free: 13.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1835, allocations: 0 / 0.6964 GB, free: 13.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.835e-05/0.1836, allocations: 37.64 kB / 0.6964 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1836, allocations: 4 kB / 0.6964 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1836, allocations: 3.984 kB / 0.6964 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1836, allocations: 3.938 kB / 0.6964 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.1837, allocations: 8.094 kB / 0.6964 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1837, allocations: 0 / 0.6964 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.1837, allocations: 0 / 0.6964 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1837, allocations: 0 / 0.6964 GB, free: 13.23 MB / 0.545 GB 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 7.035e-05/0.1838, allocations: 109.6 kB / 0.6965 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-06/0.1838, allocations: 3.938 kB / 0.6965 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.1839, allocations: 48.66 kB / 0.6966 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1839, allocations: 7.938 kB / 0.6966 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1839, allocations: 4.031 kB / 0.6966 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1839, allocations: 0 / 0.6966 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.891e-05/0.184, allocations: 142 kB / 0.6967 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.184, allocations: 0 / 0.6967 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.184, allocations: 8 kB / 0.6967 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.184, allocations: 0 / 0.6967 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.184, allocations: 7.922 kB / 0.6967 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.184, allocations: 0 / 0.6967 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.184, allocations: 0 / 0.6967 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.333e-05/0.1841, allocations: 57.14 kB / 0.6968 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.1842, allocations: 81.11 kB / 0.6969 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1842, allocations: 3.938 kB / 0.6969 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-06/0.1842, allocations: 0 / 0.6969 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.1842, allocations: 3.984 kB / 0.6969 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1842, allocations: 0 / 0.6969 GB, free: 12.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.1842, allocations: 75.28 kB / 0.697 GB, free: 12.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.834e-06/0.1843, allocations: 3.938 kB / 0.697 GB, free: 12.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001858/0.1844, allocations: 15.94 kB / 0.697 GB, free: 12.57 MB / 0.545 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 (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.0002067/0.1847, allocations: 127.2 kB / 0.6971 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.1847, allocations: 4 kB / 0.6971 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1847, allocations: 0 / 0.6971 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.1847, allocations: 4 kB / 0.6971 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1849, allocations: 8.125 kB / 0.6971 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.1851, allocations: 98.64 kB / 0.6972 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1853, allocations: 0.6729 MB / 0.6979 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.1854, allocations: 11.44 kB / 0.6979 GB, free: 11.58 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.1854, allocations: 0 / 0.6979 GB, free: 11.58 MB / 0.545 GB Notification: Performance of Templates: time 0.001927/0.1873, allocations: 0.5581 MB / 0.6984 GB, free: 11.02 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)