Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7908/0.7908, allocations: 128.7 MB / 144.5 MB, free: 1.395 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.001162/0.001162, allocations: 192.8 kB / 174.2 MB, free: 5.938 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.595/1.595, allocations: 205.1 MB / 408.9 MB, free: 9.723 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.001356/0.001356, allocations: 106 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 53.77 kB / 0.558 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1597, allocations: 75.48 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.00228/0.162, allocations: 1.488 MB / 0.6331 GB, free: 31.55 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005016/0.1625, allocations: 247.3 kB / 0.6334 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1626, allocations: 0 / 0.6334 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.1626, allocations: 0 / 0.6334 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.1627, allocations: 3.938 kB / 0.6334 GB, free: 31.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1629, allocations: 51.84 kB / 0.6334 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.163, allocations: 15.98 kB / 0.6334 GB, free: 31.24 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.1631, allocations: 8 kB / 0.6334 GB, free: 31.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.1631, allocations: 11.97 kB / 0.6335 GB, free: 31.22 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.538e-05/0.1632, allocations: 15.88 kB / 0.6335 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.1632, allocations: 0 / 0.6335 GB, free: 31.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1633, allocations: 63.88 kB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1633, allocations: 4 kB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.1634, allocations: 15.86 kB / 0.6336 GB, free: 31.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1635, allocations: 55.86 kB / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1635, allocations: 0 / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1635, allocations: 0 / 0.6336 GB, free: 31.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.1635, allocations: 0 / 0.6336 GB, free: 31.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000374/0.1639, allocations: 339.6 kB / 0.6339 GB, free: 30.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1639, allocations: 12.03 kB / 0.6339 GB, free: 30.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.164, allocations: 4.844 kB / 0.6339 GB, free: 30.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.489e-05/0.1641, allocations: 168.6 kB / 0.6341 GB, free: 30.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1641, allocations: 8.375 kB / 0.6341 GB, free: 30.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.1641, allocations: 384 / 0.6341 GB, free: 30.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1643, allocations: 54.17 kB / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1643, allocations: 192 / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1643, allocations: 3.938 kB / 0.6342 GB, free: 30.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1643, allocations: 0 / 0.6342 GB, free: 30.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1645, allocations: 31.97 kB / 0.6342 GB, free: 30.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.1647, allocations: 253 kB / 0.6344 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1648, allocations: 38.44 kB / 0.6345 GB, free: 30.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.1649, allocations: 20.91 kB / 0.6345 GB, free: 30 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.1655, allocations: 461.5 kB / 0.6349 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1655, allocations: 34.56 kB / 0.635 GB, free: 29.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1655, allocations: 0 / 0.635 GB, free: 29.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003178/0.1658, allocations: 77.64 kB / 0.635 GB, free: 29.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1659, allocations: 55.53 kB / 0.6351 GB, free: 29.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.1659, allocations: 97.86 kB / 0.6352 GB, free: 29.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.166, allocations: 25.7 kB / 0.6352 GB, free: 29.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.166, allocations: 96.03 kB / 0.6353 GB, free: 29.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.166, allocations: 3.938 kB / 0.6353 GB, free: 29.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.166, allocations: 13.72 kB / 0.6353 GB, free: 29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.1661, allocations: 310.8 kB / 0.6356 GB, free: 28.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.1662, allocations: 19.98 kB / 0.6356 GB, free: 28.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.1662, allocations: 15.97 kB / 0.6357 GB, free: 28.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1664, allocations: 40.83 kB / 0.6357 GB, free: 28.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1664, allocations: 0 / 0.6357 GB, free: 28.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001652/0.1666, allocations: 77.56 kB / 0.6358 GB, free: 28.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1666, allocations: 4 kB / 0.6358 GB, free: 28.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1666, allocations: 3.938 kB / 0.6358 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1666, allocations: 0 / 0.6358 GB, free: 28.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.1667, allocations: 15.92 kB / 0.6358 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1667, allocations: 0 / 0.6358 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.1667, allocations: 4 kB / 0.6358 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1668, allocations: 0 / 0.6358 GB, free: 28.5 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 (2): * Single equations (assignments): 2 * 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 5.022e-05/0.1668, allocations: 121.7 kB / 0.6359 GB, free: 28.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1668, allocations: 4.031 kB / 0.6359 GB, free: 28.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.167, allocations: 68.78 kB / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.167, allocations: 0 / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1671, allocations: 4 kB / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1671, allocations: 0 / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.1672, allocations: 161.6 kB / 0.6361 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1672, allocations: 0 / 0.6361 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.1672, allocations: 7.984 kB / 0.6361 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1672, allocations: 4.219 kB / 0.6361 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.1672, allocations: 4 kB / 0.6362 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1673, allocations: 3.938 kB / 0.6362 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1673, allocations: 0 / 0.6362 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1676, allocations: 0.7317 MB / 0.6369 GB, free: 27.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.1677, allocations: 81.11 kB / 0.6369 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1677, allocations: 3.984 kB / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.1677, allocations: 4 kB / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1678, allocations: 0 / 0.637 GB, free: 27.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1678, allocations: 7.922 kB / 0.637 GB, free: 27.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.1678, allocations: 79.28 kB / 0.637 GB, free: 27.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1678, allocations: 0 / 0.637 GB, free: 27.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.1681, allocations: 20 kB / 0.6371 GB, free: 27.07 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 (2): * Single equations (assignments): 2 * 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.0001697/0.1683, allocations: 119.2 kB / 0.6372 GB, free: 26.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1685, allocations: 31.97 kB / 0.6372 GB, free: 26.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1685, allocations: 4.062 kB / 0.6372 GB, free: 26.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.1686, allocations: 23.91 kB / 0.6372 GB, free: 26.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.1688, allocations: 6.531 kB / 0.6372 GB, free: 26.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.1691, allocations: 206.8 kB / 0.6374 GB, free: 26.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.1692, allocations: 0.6809 MB / 0.6381 GB, free: 25.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.08e-05/0.1692, allocations: 4.062 kB / 0.6381 GB, free: 25.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.1692, allocations: 7.438 kB / 0.6381 GB, free: 25.92 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1692, allocations: 0 / 0.6381 GB, free: 25.92 MB / 442.7 MB Notification: Performance of Templates: time 0.002428/0.1717, allocations: 0.5998 MB / 0.6387 GB, free: 25.32 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)