Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 181.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5563/0.5563, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.2 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008327, allocations: 99.14 kB / 427.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003141, allocations: 12 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 72.31 MB / 0.5689 GB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5913, allocations: 101.7 MB / 0.6682 GB, free: 2.695 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5915, allocations: 71.95 kB / 0.6683 GB, free: 2.625 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004829/0.5964, allocations: 1.584 MB / 0.6698 GB, free: 1.059 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5964, allocations: 0 / 0.6698 GB, free: 1.059 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.5964, allocations: 0 / 0.6698 GB, free: 1.059 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.000452/0.5969, allocations: 371.8 kB / 0.6702 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5969, allocations: 8.031 kB / 0.6702 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.597, allocations: 3.953 kB / 0.6702 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5971, allocations: 167 kB / 0.6703 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.5971, allocations: 0 / 0.6703 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.5971, allocations: 0 / 0.6703 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.5973, allocations: 61.61 kB / 0.6704 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.5974, allocations: 0 / 0.6704 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.5974, allocations: 0 / 0.6704 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5974, allocations: 4 kB / 0.6704 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.5976, allocations: 47.91 kB / 0.6704 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.5981, allocations: 264.9 kB / 0.6707 GB, free: 8 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.5982, allocations: 42.59 kB / 0.6707 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/0.5989, allocations: 453.4 kB / 0.6712 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5989, allocations: 34.56 kB / 0.6712 GB, free: 15.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5989, allocations: 3.938 kB / 0.6712 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.5993, allocations: 97.59 kB / 0.6713 GB, free: 15.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5994, allocations: 51.41 kB / 0.6714 GB, free: 15.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.5995, allocations: 101 kB / 0.6714 GB, free: 15.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5995, allocations: 29.83 kB / 0.6715 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.5996, allocations: 80.14 kB / 0.6716 GB, free: 14.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.5996, allocations: 3.906 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.5996, allocations: 4 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5997, allocations: 310.8 kB / 0.6719 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.5998, allocations: 23.92 kB / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.5999, allocations: 31.97 kB / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.6, allocations: 19.92 kB / 0.6719 GB, free: 14.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6, allocations: 0 / 0.6719 GB, free: 14.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.6002, allocations: 81.91 kB / 0.672 GB, free: 14.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6002, allocations: 4 kB / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6002, allocations: 4 kB / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6003, allocations: 0 / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.6004, allocations: 15.97 kB / 0.672 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6004, allocations: 3.953 kB / 0.672 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.6004, allocations: 8.031 kB / 0.672 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.6005, allocations: 4 kB / 0.672 GB, free: 14.47 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.645e-05/0.6006, allocations: 105.8 kB / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.6006, allocations: 0 / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.6008, allocations: 96.2 kB / 0.6722 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6008, allocations: 0 / 0.6722 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.6009, allocations: 4 kB / 0.6722 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6009, allocations: 3.953 kB / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.601, allocations: 153.7 kB / 0.6724 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.601, allocations: 0 / 0.6724 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.6011, allocations: 11.98 kB / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6011, allocations: 0 / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6011, allocations: 4.031 kB / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6011, allocations: 0 / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6011, allocations: 0 / 0.6724 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6014, allocations: 187.3 kB / 0.6726 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.6014, allocations: 77.11 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.6015, allocations: 0 / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.6015, allocations: 11.98 kB / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.6016, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.6016, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.6016, allocations: 83.27 kB / 0.6727 GB, free: 13.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6016, allocations: 0 / 0.6727 GB, free: 13.65 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.6019, allocations: 35.91 kB / 0.6728 GB, free: 13.62 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002811/0.6022, allocations: 131.1 kB / 0.6729 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6024, allocations: 51.95 kB / 0.673 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6024, allocations: 0 / 0.673 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.6025, allocations: 27.92 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.6027, allocations: 3.953 kB / 0.673 GB, free: 13.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.603, allocations: 109.3 kB / 0.6731 GB, free: 13.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6032, allocations: 0.677 MB / 0.6738 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.6033, allocations: 0 / 0.6738 GB, free: 12.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.6033, allocations: 11.44 kB / 0.6738 GB, free: 12.55 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6033, allocations: 0 / 0.6738 GB, free: 12.55 MB / 474.7 MB Notification: Performance of Templates: time 0.002689/0.606, allocations: 0.5466 MB / 0.6743 GB, free: 12 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)