Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6967/0.6967, allocations: 117.9 MB / 133.9 MB, free: 4.523 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001065, allocations: 176.4 kB / 161.7 MB, free: 2.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 394.8 MB, free: 21.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007618/0.0007618, allocations: 82.36 kB / 470.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005768, allocations: 16 kB / 0.5423 GB, free: 7.098 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3666, allocations: 74.55 MB / 0.6151 GB, free: 54.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5002, allocations: 101.7 MB / 0.7144 GB, free: 352 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5005, allocations: 75.95 kB / 0.7145 GB, free: 276 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004968/0.5055, allocations: 1.629 MB / 0.7161 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5056, allocations: 0 / 0.7161 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5056, allocations: 0 / 0.7161 GB, free: 14.64 MB / 0.4948 GB 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.000422/0.506, allocations: 367.3 kB / 0.7164 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5061, allocations: 15.97 kB / 0.7165 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.5061, allocations: 0.9375 kB / 0.7165 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.5063, allocations: 160.4 kB / 0.7166 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5063, allocations: 384 / 0.7166 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.5063, allocations: 4.375 kB / 0.7166 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.5065, allocations: 61.98 kB / 0.7167 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5065, allocations: 192 / 0.7167 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5065, allocations: 3.938 kB / 0.7167 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.5066, allocations: 4 kB / 0.7167 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.5067, allocations: 47.89 kB / 0.7167 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.5072, allocations: 264.9 kB / 0.717 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5073, allocations: 46.48 kB / 0.717 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.5074, allocations: 32.91 kB / 0.7171 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/0.508, allocations: 445.5 kB / 0.7175 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5081, allocations: 34.56 kB / 0.7175 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.5081, allocations: 0 / 0.7175 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003933/0.5085, allocations: 101.6 kB / 0.7176 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.5085, allocations: 55.41 kB / 0.7177 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.5086, allocations: 101.8 kB / 0.7178 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.5087, allocations: 25.7 kB / 0.7178 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.5087, allocations: 84.14 kB / 0.7179 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.5087, allocations: 7.906 kB / 0.7179 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.5087, allocations: 0 / 0.7179 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5089, allocations: 310.8 kB / 0.7182 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.509, allocations: 27.97 kB / 0.7182 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.509, allocations: 19.98 kB / 0.7182 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5092, allocations: 48.89 kB / 0.7183 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5092, allocations: 0 / 0.7183 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002209/0.5095, allocations: 81.53 kB / 0.7183 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5095, allocations: 12.03 kB / 0.7183 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5095, allocations: 0 / 0.7183 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5095, allocations: 192 / 0.7183 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.5096, allocations: 15.98 kB / 0.7184 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5096, allocations: 0 / 0.7184 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.5097, allocations: 11.98 kB / 0.7184 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.5097, allocations: 3.938 kB / 0.7184 GB, free: 11.98 MB / 0.4948 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 (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.709e-05/0.5098, allocations: 113.8 kB / 0.7185 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.5098, allocations: 3.984 kB / 0.7185 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.5101, allocations: 84.72 kB / 0.7186 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5101, allocations: 0 / 0.7186 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5101, allocations: 4 kB / 0.7186 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5101, allocations: 4.031 kB / 0.7186 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.5103, allocations: 161.6 kB / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5103, allocations: 0 / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.5104, allocations: 8 kB / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.5104, allocations: 0 / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.5104, allocations: 0 / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5104, allocations: 3.984 kB / 0.7187 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5104, allocations: 0 / 0.7187 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.5107, allocations: 179.4 kB / 0.7189 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.5107, allocations: 81.09 kB / 0.719 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.5107, allocations: 3.938 kB / 0.719 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.5108, allocations: 12.03 kB / 0.719 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.5109, allocations: 7.922 kB / 0.719 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.5109, allocations: 0 / 0.719 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.5109, allocations: 79.28 kB / 0.7191 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5109, allocations: 0 / 0.7191 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002535/0.5112, allocations: 31.94 kB / 0.7191 GB, free: 11.12 MB / 0.4948 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 (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.0002717/0.5115, allocations: 138.9 kB / 0.7193 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.5117, allocations: 47.97 kB / 0.7193 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5117, allocations: 0 / 0.7193 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.5118, allocations: 23.98 kB / 0.7193 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.512, allocations: 7.922 kB / 0.7193 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.5124, allocations: 108.6 kB / 0.7194 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.5126, allocations: 0.6811 MB / 0.7201 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.5127, allocations: 0 / 0.7201 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.5127, allocations: 11.44 kB / 0.7201 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.5127, allocations: 0 / 0.7201 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.002762/0.5155, allocations: 0.5662 MB / 0.7207 GB, free: 9.48 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)