Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001224, allocations: 119.8 kB / 17.09 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 196.6 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7402/0.7402, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 69.02 kB / 0.5584 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1627, allocations: 76.18 MB / 0.6328 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001995/0.1647, allocations: 0.5688 MB / 0.6333 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005479/0.1653, allocations: 191.7 kB / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.1653, allocations: 0 / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1653, allocations: 0 / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.735e-06/0.1654, allocations: 0 / 0.6335 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1659, allocations: 51.83 kB / 0.6336 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.117e-05/0.1659, allocations: 0 / 0.6336 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.166, allocations: 0 / 0.6336 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.166, allocations: 4 kB / 0.6336 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.23e-05/0.166, allocations: 4 kB / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-06/0.166, allocations: 0 / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1662, allocations: 63.86 kB / 0.6336 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.1662, allocations: 0 / 0.6336 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.1663, allocations: 4 kB / 0.6336 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1664, allocations: 31.94 kB / 0.6337 GB, free: 3.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1664, allocations: 4 kB / 0.6337 GB, free: 3.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.71e-06/0.1664, allocations: 0 / 0.6337 GB, free: 3.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1664, allocations: 3.938 kB / 0.6337 GB, free: 3.449 MB / 478.1 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.0003527/0.1668, allocations: 319.6 kB / 0.634 GB, free: 3.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1669, allocations: 12.02 kB / 0.634 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1669, allocations: 4.938 kB / 0.634 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.167, allocations: 160.4 kB / 0.6341 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.167, allocations: 384 / 0.6341 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.167, allocations: 384 / 0.6341 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1671, allocations: 30.2 kB / 0.6342 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1672, allocations: 4.172 kB / 0.6342 GB, free: 2.836 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1672, allocations: 7.938 kB / 0.6342 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1672, allocations: 0 / 0.6342 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.1672, allocations: 4 kB / 0.6342 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.1674, allocations: 149.7 kB / 0.6343 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.001e-05/0.1674, allocations: 22.55 kB / 0.6344 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.1675, allocations: 4.859 kB / 0.6344 GB, free: 2.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/0.1682, allocations: 453.5 kB / 0.6348 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1683, allocations: 42.48 kB / 0.6348 GB, free: 2.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1683, allocations: 0 / 0.6348 GB, free: 2.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1684, allocations: 33.64 kB / 0.6349 GB, free: 1.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1685, allocations: 51.41 kB / 0.6349 GB, free: 1.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.235e-05/0.1685, allocations: 89.86 kB / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1686, allocations: 25.7 kB / 0.635 GB, free: 1.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.1686, allocations: 88.27 kB / 0.6351 GB, free: 1.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1686, allocations: 3.906 kB / 0.6351 GB, free: 1.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1687, allocations: 13.72 kB / 0.6351 GB, free: 1.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1688, allocations: 310.8 kB / 0.6354 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.1688, allocations: 7.984 kB / 0.6354 GB, free: 1.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.1688, allocations: 0 / 0.6354 GB, free: 1.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.1689, allocations: 8.797 kB / 0.6354 GB, free: 1.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1689, allocations: 4 kB / 0.6354 GB, free: 1.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.649e-05/0.169, allocations: 33.77 kB / 0.6355 GB, free: 1.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.169, allocations: 4 kB / 0.6355 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.169, allocations: 0 / 0.6355 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.169, allocations: 3.938 kB / 0.6355 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.1691, allocations: 4 kB / 0.6355 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1691, allocations: 3.938 kB / 0.6355 GB, free: 1.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.1691, allocations: 0 / 0.6355 GB, free: 1.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1691, allocations: 3.984 kB / 0.6355 GB, free: 1.266 MB / 478.1 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 8.02e-05/0.1692, allocations: 113.9 kB / 0.6356 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.1692, allocations: 4 kB / 0.6356 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/0.1693, allocations: 40.7 kB / 0.6356 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1693, allocations: 0 / 0.6356 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1693, allocations: 0 / 0.6356 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1693, allocations: 0 / 0.6356 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1694, allocations: 149.7 kB / 0.6358 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1694, allocations: 0 / 0.6358 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.1694, allocations: 4 kB / 0.6358 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1695, allocations: 0 / 0.6358 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1695, allocations: 11.97 kB / 0.6358 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1695, allocations: 0 / 0.6358 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1695, allocations: 0 / 0.6358 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.881e-05/0.1696, allocations: 61.06 kB / 0.6359 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1696, allocations: 77.11 kB / 0.6359 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1696, allocations: 3.938 kB / 0.6359 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.1696, allocations: 0 / 0.6359 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.1697, allocations: 3.938 kB / 0.6359 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1697, allocations: 8.031 kB / 0.636 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.1697, allocations: 79.28 kB / 0.636 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1697, allocations: 0 / 0.636 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1699, allocations: 15.98 kB / 0.636 GB, free: 0.6016 MB / 478.1 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.0002242/0.1702, allocations: 115.2 kB / 0.6362 GB, free: 488 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.1702, allocations: 8 kB / 0.6362 GB, free: 480 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1702, allocations: 0 / 0.6362 GB, free: 480 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.1703, allocations: 3.984 kB / 0.6362 GB, free: 476 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1704, allocations: 7.938 kB / 0.6362 GB, free: 468 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.1706, allocations: 106.8 kB / 0.6363 GB, free: 328 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1709, allocations: 0.669 MB / 0.6369 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.1709, allocations: 7.438 kB / 0.6369 GB, free: 15.62 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1709, allocations: 4.125 kB / 0.6369 GB, free: 15.61 MB / 494.1 MB Notification: Performance of Templates: time 0.002015/0.1729, allocations: 0.5503 MB / 0.6375 GB, free: 15.06 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)