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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7119/0.7119, allocations: 128.7 MB / 144.5 MB, free: 1.398 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.001139/0.001139, allocations: 186.4 kB / 174.2 MB, free: 5.934 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.537/1.537, allocations: 205 MB / 408.9 MB, free: 9.707 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.001045/0.001045, allocations: 94.36 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.05 kB / 0.558 GB, free: 97.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001918/0.1388, allocations: 0.6371 MB / 0.6323 GB, free: 32.37 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004216/0.1392, allocations: 192.7 kB / 0.6325 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.1393, allocations: 4 kB / 0.6325 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.1393, allocations: 0 / 0.6325 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1393, allocations: 0 / 0.6325 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1397, allocations: 43.91 kB / 0.6325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.172e-05/0.1397, allocations: 0 / 0.6325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.1397, allocations: 0 / 0.6325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.1398, allocations: 0 / 0.6325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.247e-05/0.1398, allocations: 0 / 0.6325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.1398, allocations: 7.938 kB / 0.6325 GB, free: 32.13 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.14, allocations: 67.86 kB / 0.6326 GB, free: 32.06 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.14, allocations: 0 / 0.6326 GB, free: 32.06 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.14, allocations: 0 / 0.6326 GB, free: 32.06 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1401, allocations: 47.81 kB / 0.6327 GB, free: 32.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1401, allocations: 4 kB / 0.6327 GB, free: 32.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1401, allocations: 0 / 0.6327 GB, free: 32.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1401, allocations: 0 / 0.6327 GB, free: 32.01 MB / 442.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.0002377/0.1404, allocations: 323.6 kB / 0.633 GB, free: 31.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1404, allocations: 8.031 kB / 0.633 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.1404, allocations: 0.9375 kB / 0.633 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.804e-05/0.1405, allocations: 160.4 kB / 0.6331 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1405, allocations: 4.375 kB / 0.6331 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1405, allocations: 384 / 0.6331 GB, free: 31.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.1406, allocations: 30.27 kB / 0.6332 GB, free: 31.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1406, allocations: 192 / 0.6332 GB, free: 31.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1407, allocations: 7.922 kB / 0.6332 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1407, allocations: 0 / 0.6332 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.1407, allocations: 7.938 kB / 0.6332 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.1408, allocations: 145.7 kB / 0.6333 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.094e-05/0.1408, allocations: 14.67 kB / 0.6333 GB, free: 31.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.1409, allocations: 8.859 kB / 0.6333 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.1414, allocations: 457.5 kB / 0.6338 GB, free: 30.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1415, allocations: 34.56 kB / 0.6338 GB, free: 30.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1415, allocations: 0 / 0.6338 GB, free: 30.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.1416, allocations: 37.58 kB / 0.6338 GB, free: 30.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.1416, allocations: 59.47 kB / 0.6339 GB, free: 30.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.809e-05/0.1416, allocations: 89.86 kB / 0.634 GB, free: 30.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1416, allocations: 25.7 kB / 0.634 GB, free: 30.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-06/0.1417, allocations: 84.14 kB / 0.6341 GB, free: 30.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1417, allocations: 3.984 kB / 0.6341 GB, free: 30.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.1417, allocations: 13.72 kB / 0.6341 GB, free: 30.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.1418, allocations: 310.8 kB / 0.6344 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-06/0.1418, allocations: 0 / 0.6344 GB, free: 29.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.1418, allocations: 8 kB / 0.6344 GB, free: 29.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.1418, allocations: 4.859 kB / 0.6344 GB, free: 29.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1418, allocations: 0 / 0.6344 GB, free: 29.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.881e-05/0.1419, allocations: 41.64 kB / 0.6345 GB, free: 29.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1419, allocations: 4 kB / 0.6345 GB, free: 29.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1419, allocations: 3.984 kB / 0.6345 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1419, allocations: 3.938 kB / 0.6345 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.1419, allocations: 0 / 0.6345 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.142, allocations: 4 kB / 0.6345 GB, free: 29.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-06/0.142, allocations: 4.094 kB / 0.6345 GB, free: 29.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.142, allocations: 0 / 0.6345 GB, free: 29.83 MB / 442.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 (1): * Single equations (assignments): 1 * 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.069e-05/0.142, allocations: 105.8 kB / 0.6346 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.142, allocations: 3.938 kB / 0.6346 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.1421, allocations: 48.69 kB / 0.6346 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1421, allocations: 3.984 kB / 0.6346 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1421, allocations: 4 kB / 0.6346 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1421, allocations: 0 / 0.6346 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.863e-05/0.1422, allocations: 149.7 kB / 0.6348 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1422, allocations: 0 / 0.6348 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.1422, allocations: 0 / 0.6348 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1422, allocations: 4 kB / 0.6348 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1422, allocations: 3.938 kB / 0.6348 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1422, allocations: 3.984 kB / 0.6348 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1422, allocations: 0 / 0.6348 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1424, allocations: 0.6044 MB / 0.6354 GB, free: 28.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.1424, allocations: 81.11 kB / 0.6355 GB, free: 28.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.1425, allocations: 0 / 0.6355 GB, free: 28.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.1425, allocations: 0 / 0.6355 GB, free: 28.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.1425, allocations: 3.938 kB / 0.6355 GB, free: 28.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1425, allocations: 0 / 0.6355 GB, free: 28.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.282e-05/0.1425, allocations: 75.28 kB / 0.6355 GB, free: 28.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1425, allocations: 0 / 0.6355 GB, free: 28.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.1428, allocations: 16 kB / 0.6356 GB, free: 28.59 MB / 442.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 (1): * Single equations (assignments): 1 * 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.00017/0.143, allocations: 123.2 kB / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.603e-05/0.1431, allocations: 3.938 kB / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1431, allocations: 4 kB / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/0.1431, allocations: 0 / 0.6357 GB, free: 28.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.1432, allocations: 12.05 kB / 0.6357 GB, free: 28.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.1434, allocations: 175 kB / 0.6359 GB, free: 28.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.1435, allocations: 0.6692 MB / 0.6365 GB, free: 27.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.144e-05/0.1435, allocations: 0 / 0.6365 GB, free: 27.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-06/0.1435, allocations: 15.42 kB / 0.6365 GB, free: 27.52 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1435, allocations: 0 / 0.6365 GB, free: 27.52 MB / 442.7 MB Notification: Performance of Templates: time 0.002101/0.1456, allocations: 405.1 kB / 0.6369 GB, free: 27.13 MB / 442.7 MB 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)