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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7695/0.7695, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 183 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 111.1 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 284.3 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 83.86 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002315/0.3477, allocations: 1.498 MB / 0.7694 GB, free: 26.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005077/0.3482, allocations: 259.2 kB / 0.7696 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.3482, allocations: 7.938 kB / 0.7696 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.3483, allocations: 0 / 0.7696 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.3483, allocations: 3.938 kB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.3486, allocations: 43.97 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.754e-05/0.3487, allocations: 19.92 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.3488, allocations: 12 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.3488, allocations: 11.97 kB / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.3488, allocations: 11.94 kB / 0.7697 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.3489, allocations: 0 / 0.7697 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.349, allocations: 67.88 kB / 0.7698 GB, free: 25.72 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.349, allocations: 3.984 kB / 0.7698 GB, free: 25.72 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.349, allocations: 7.938 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3492, allocations: 59.8 kB / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3492, allocations: 0 / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3492, allocations: 0 / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.3492, allocations: 0 / 0.7699 GB, free: 25.65 MB / 458.7 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.0003797/0.3496, allocations: 346.2 kB / 0.7702 GB, free: 25.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3496, allocations: 12.02 kB / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.3497, allocations: 0.9375 kB / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.648e-05/0.3497, allocations: 164.4 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.3498, allocations: 384 / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3498, allocations: 4.375 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3499, allocations: 54.23 kB / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.35, allocations: 192 / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.35, allocations: 3.938 kB / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.35, allocations: 0 / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3501, allocations: 39.89 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.3504, allocations: 256.9 kB / 0.7707 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3505, allocations: 38.5 kB / 0.7708 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3506, allocations: 28.88 kB / 0.7708 GB, free: 24.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.3512, allocations: 457.5 kB / 0.7712 GB, free: 24.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3512, allocations: 38.48 kB / 0.7713 GB, free: 23.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3512, allocations: 0 / 0.7713 GB, free: 23.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003119/0.3515, allocations: 81.56 kB / 0.7713 GB, free: 23.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.3516, allocations: 55.53 kB / 0.7714 GB, free: 23.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.3516, allocations: 97.84 kB / 0.7715 GB, free: 23.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.3516, allocations: 29.7 kB / 0.7715 GB, free: 23.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.3517, allocations: 84.14 kB / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.3517, allocations: 3.906 kB / 0.7716 GB, free: 23.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.3517, allocations: 17.7 kB / 0.7716 GB, free: 23.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.3518, allocations: 314.8 kB / 0.7719 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.3518, allocations: 11.98 kB / 0.7719 GB, free: 23.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.3519, allocations: 23.98 kB / 0.7719 GB, free: 23.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3521, allocations: 44.69 kB / 0.772 GB, free: 23.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3521, allocations: 0 / 0.772 GB, free: 23.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001617/0.3522, allocations: 65.61 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3523, allocations: 8.094 kB / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3523, allocations: 3.984 kB / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3523, allocations: 0 / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.3524, allocations: 8 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3524, allocations: 0 / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3524, allocations: 7.984 kB / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3524, allocations: 0 / 0.7721 GB, free: 23.08 MB / 458.7 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 4.969e-05/0.3525, allocations: 119.1 kB / 0.7722 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.3525, allocations: 4 kB / 0.7722 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.3527, allocations: 68.72 kB / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3527, allocations: 4 kB / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3527, allocations: 3.984 kB / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3527, allocations: 0 / 0.7723 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3528, allocations: 161.6 kB / 0.7724 GB, free: 22.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3529, allocations: 0 / 0.7724 GB, free: 22.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.3529, allocations: 7.984 kB / 0.7724 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3529, allocations: 8.031 kB / 0.7724 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3529, allocations: 0 / 0.7724 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3529, allocations: 0 / 0.7724 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3529, allocations: 0 / 0.7724 GB, free: 22.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.3533, allocations: 0.7278 MB / 0.7732 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3533, allocations: 81.11 kB / 0.7732 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3533, allocations: 0 / 0.7732 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.3534, allocations: 15.92 kB / 0.7732 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3535, allocations: 0 / 0.7732 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.3535, allocations: 3.938 kB / 0.7732 GB, free: 21.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.042e-05/0.3535, allocations: 87.22 kB / 0.7733 GB, free: 21.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3535, allocations: 0 / 0.7733 GB, free: 21.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.3538, allocations: 23.98 kB / 0.7734 GB, free: 21.64 MB / 458.7 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.0001793/0.354, allocations: 111.8 kB / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3542, allocations: 35.95 kB / 0.7735 GB, free: 21.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3542, allocations: 0 / 0.7735 GB, free: 21.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.3543, allocations: 27.98 kB / 0.7735 GB, free: 21.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3545, allocations: 5.406 kB / 0.7735 GB, free: 21.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.3548, allocations: 206 kB / 0.7737 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3549, allocations: 0.6808 MB / 0.7744 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.115e-05/0.355, allocations: 0 / 0.7744 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.355, allocations: 11.5 kB / 0.7744 GB, free: 20.49 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.355, allocations: 0 / 0.7744 GB, free: 20.49 MB / 458.7 MB Notification: Performance of Templates: time 0.002386/0.3574, allocations: 0.6046 MB / 0.775 GB, free: 19.89 MB / 458.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)