Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7992/0.7992, allocations: 127.3 MB / 139.8 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009766/0.0009767, allocations: 180.8 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.000939/0.000939, allocations: 90.16 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.031e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 76.75 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5743/0.7504, allocations: 102 MB / 0.7278 GB, free: 11.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.7507, allocations: 75.95 kB / 0.7279 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003451/0.7542, allocations: 1.323 MB / 0.7291 GB, free: 10.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7542, allocations: 4 kB / 0.7291 GB, free: 10.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.7542, allocations: 4 kB / 0.7292 GB, free: 10.13 MB / 490.7 MB 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.0002577/0.7545, allocations: 322.4 kB / 0.7295 GB, free: 9.773 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7545, allocations: 8.031 kB / 0.7295 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.7545, allocations: 7.953 kB / 0.7295 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.7546, allocations: 163.1 kB / 0.7296 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.7547, allocations: 3.812 kB / 0.7296 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.7547, allocations: 0 / 0.7296 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.7548, allocations: 29.7 kB / 0.7297 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7548, allocations: 0 / 0.7297 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.7548, allocations: 4 kB / 0.7297 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7548, allocations: 0 / 0.7297 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.7548, allocations: 0 / 0.7297 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.755, allocations: 145.6 kB / 0.7298 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.755, allocations: 26.48 kB / 0.7298 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.7551, allocations: 8.844 kB / 0.7298 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.7557, allocations: 449.5 kB / 0.7303 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.7557, allocations: 34.5 kB / 0.7303 GB, free: 8.715 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.7557, allocations: 0 / 0.7303 GB, free: 8.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.7558, allocations: 29.7 kB / 0.7303 GB, free: 8.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.7559, allocations: 59.38 kB / 0.7304 GB, free: 8.609 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.582e-05/0.7559, allocations: 87.59 kB / 0.7305 GB, free: 8.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7559, allocations: 29.7 kB / 0.7305 GB, free: 8.484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.756, allocations: 80.14 kB / 0.7306 GB, free: 8.402 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.756, allocations: 3.984 kB / 0.7306 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.756, allocations: 0 / 0.7306 GB, free: 8.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7561, allocations: 314.8 kB / 0.7309 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.7561, allocations: 0 / 0.7309 GB, free: 8.082 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.7562, allocations: 7.938 kB / 0.7309 GB, free: 8.074 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.476e-05/0.7562, allocations: 7.062 kB / 0.7309 GB, free: 8.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7562, allocations: 0 / 0.7309 GB, free: 8.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.336e-05/0.7562, allocations: 29.7 kB / 0.7309 GB, free: 8.035 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7563, allocations: 8.938 kB / 0.7309 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7563, allocations: 0 / 0.7309 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7563, allocations: 0 / 0.7309 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.7563, allocations: 3.984 kB / 0.7309 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.7563, allocations: 0 / 0.7309 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.7564, allocations: 3.938 kB / 0.7309 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.7564, allocations: 8.031 kB / 0.7309 GB, free: 8.012 MB / 490.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 () * 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.272e-05/0.7564, allocations: 112.8 kB / 0.7311 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.7565, allocations: 0 / 0.7311 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.7565, allocations: 36.7 kB / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7565, allocations: 2.688 kB / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.7566, allocations: 0 / 0.7311 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7566, allocations: 3.984 kB / 0.7311 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.7567, allocations: 149.6 kB / 0.7312 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7567, allocations: 0 / 0.7312 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.7567, allocations: 4.031 kB / 0.7312 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.7567, allocations: 0 / 0.7312 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7567, allocations: 0 / 0.7312 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7567, allocations: 4 kB / 0.7312 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7567, allocations: 3.984 kB / 0.7312 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.495e-05/0.7568, allocations: 64.7 kB / 0.7313 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.7569, allocations: 81.02 kB / 0.7314 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.7569, allocations: 8.016 kB / 0.7314 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-06/0.7569, allocations: 4 kB / 0.7314 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.7569, allocations: 0 / 0.7314 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.7569, allocations: 0 / 0.7314 GB, free: 7.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.7569, allocations: 75.28 kB / 0.7315 GB, free: 7.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7569, allocations: 0 / 0.7315 GB, free: 7.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.7571, allocations: 27.61 kB / 0.7315 GB, free: 7.363 MB / 490.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 () * 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.0002617/0.7574, allocations: 135 kB / 0.7316 GB, free: 7.223 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.7575, allocations: 11.88 kB / 0.7316 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7575, allocations: 0 / 0.7316 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.7575, allocations: 0 / 0.7316 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.329e-05/0.7576, allocations: 4 kB / 0.7316 GB, free: 7.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001406/0.7577, allocations: 58.95 kB / 0.7317 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.758, allocations: 0.6731 MB / 0.7324 GB, free: 6.434 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.202e-05/0.758, allocations: 0 / 0.7324 GB, free: 6.434 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.758, allocations: 11.44 kB / 0.7324 GB, free: 6.422 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.758, allocations: 0 / 0.7324 GB, free: 6.422 MB / 490.7 MB Notification: Performance of Templates: time 0.002334/0.7604, allocations: 387.8 kB / 0.7327 GB, free: 6.055 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)