Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") [/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.7863/0.7863, allocations: 117.9 MB / 133.9 MB, free: 4.492 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.001102/0.001103, allocations: 184.8 kB / 161.7 MB, free: 2.715 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.736/1.736, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0008098/0.0008099, allocations: 90.34 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 16 kB / 0.5423 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3727, allocations: 74.53 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.506, allocations: 100.9 MB / 0.7137 GB, free: 1.016 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5063, allocations: 87.92 kB / 0.7138 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003444/0.5098, allocations: 1.29 MB / 0.715 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5098, allocations: 4 kB / 0.7151 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5098, allocations: 0 / 0.7151 GB, free: 15.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003336/0.5102, allocations: 331.5 kB / 0.7154 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5102, allocations: 8.031 kB / 0.7154 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.5103, allocations: 4.938 kB / 0.7154 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.5104, allocations: 160.4 kB / 0.7155 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5104, allocations: 4.375 kB / 0.7155 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.5104, allocations: 384 / 0.7155 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.948e-05/0.5105, allocations: 30.2 kB / 0.7156 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5105, allocations: 4.188 kB / 0.7156 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5106, allocations: 7.922 kB / 0.7156 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5106, allocations: 3.938 kB / 0.7156 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.5106, allocations: 4 kB / 0.7156 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.5108, allocations: 149.4 kB / 0.7157 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.5108, allocations: 14.67 kB / 0.7157 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.5108, allocations: 12.8 kB / 0.7158 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.5114, allocations: 445.5 kB / 0.7162 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5114, allocations: 30.56 kB / 0.7162 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.5114, allocations: 0 / 0.7162 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.5116, allocations: 37.62 kB / 0.7162 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.5116, allocations: 55.53 kB / 0.7163 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.333e-05/0.5117, allocations: 97.86 kB / 0.7164 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.5117, allocations: 25.7 kB / 0.7164 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.5117, allocations: 84.12 kB / 0.7165 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.5118, allocations: 3.906 kB / 0.7165 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.5118, allocations: 0 / 0.7165 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5119, allocations: 310.8 kB / 0.7168 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.5119, allocations: 3.938 kB / 0.7168 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-06/0.5119, allocations: 4 kB / 0.7168 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.512, allocations: 8.922 kB / 0.7168 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.512, allocations: 0 / 0.7168 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.169e-05/0.512, allocations: 41.69 kB / 0.7168 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.512, allocations: 9.812 kB / 0.7169 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.512, allocations: 0 / 0.7169 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5121, allocations: 3.938 kB / 0.7169 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.5121, allocations: 0 / 0.7169 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.5121, allocations: 4 kB / 0.7169 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.5121, allocations: 0 / 0.7169 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.5121, allocations: 4.031 kB / 0.7169 GB, free: 13.46 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 (1): * Single equations (assignments): 1 * 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 6.59e-05/0.5122, allocations: 109.8 kB / 0.717 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-06/0.5122, allocations: 0 / 0.717 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.5123, allocations: 40.75 kB / 0.717 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5123, allocations: 4 kB / 0.717 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5123, allocations: 0 / 0.717 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5123, allocations: 0 / 0.717 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.5125, allocations: 149.7 kB / 0.7172 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5125, allocations: 0 / 0.7172 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.5125, allocations: 11.97 kB / 0.7172 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5125, allocations: 0 / 0.7172 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.5125, allocations: 3.938 kB / 0.7172 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5125, allocations: 0 / 0.7172 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5125, allocations: 0 / 0.7172 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.5126, allocations: 57.08 kB / 0.7172 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.5126, allocations: 85.09 kB / 0.7173 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5127, allocations: 3.969 kB / 0.7173 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-06/0.5127, allocations: 7.984 kB / 0.7173 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.5127, allocations: 4 kB / 0.7173 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.5127, allocations: 0 / 0.7173 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.5127, allocations: 75.28 kB / 0.7174 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.5127, allocations: 0 / 0.7174 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002229/0.513, allocations: 19.94 kB / 0.7174 GB, free: 12.8 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 (1): * Single equations (assignments): 1 * 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.0002395/0.5132, allocations: 135 kB / 0.7175 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.353e-05/0.5133, allocations: 4 kB / 0.7176 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5133, allocations: 0 / 0.7176 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.5133, allocations: 7.922 kB / 0.7176 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5135, allocations: 8.562 kB / 0.7176 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001806/0.5136, allocations: 74.89 kB / 0.7176 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.5139, allocations: 0.6692 MB / 0.7183 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.5139, allocations: 0 / 0.7183 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.5139, allocations: 15.38 kB / 0.7183 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.514, allocations: 0 / 0.7183 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.002284/0.5162, allocations: 387.8 kB / 0.7187 GB, free: 11.45 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)