Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.001542/0.001543, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7439/0.7439, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 65.14 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 76.17 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002473/0.1543, allocations: 1.426 MB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005075/0.1548, allocations: 256 kB / 0.6337 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.1549, allocations: 4 kB / 0.6337 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.1549, allocations: 3.938 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.155, allocations: 4 kB / 0.6337 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.1554, allocations: 55.83 kB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.1555, allocations: 27.92 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.808e-05/0.1555, allocations: 3.984 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.1556, allocations: 15.92 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.1556, allocations: 4 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1556, allocations: 0 / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1558, allocations: 67.88 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1558, allocations: 11.94 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1558, allocations: 7.984 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.156, allocations: 47.86 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.156, allocations: 0 / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.156, allocations: 0 / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.156, allocations: 4 kB / 0.634 GB, free: 2.445 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004917/0.1565, allocations: 347.4 kB / 0.6343 GB, free: 2.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1566, allocations: 8.031 kB / 0.6343 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1566, allocations: 4.938 kB / 0.6343 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1567, allocations: 168.4 kB / 0.6345 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1567, allocations: 384 / 0.6345 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1567, allocations: 4.312 kB / 0.6345 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1569, allocations: 46.25 kB / 0.6345 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1569, allocations: 4.172 kB / 0.6345 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.157, allocations: 3.938 kB / 0.6345 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.157, allocations: 3.938 kB / 0.6345 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1571, allocations: 35.97 kB / 0.6346 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.1575, allocations: 253 kB / 0.6348 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1576, allocations: 42.44 kB / 0.6348 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.1577, allocations: 16.91 kB / 0.6349 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006682/0.1584, allocations: 465.5 kB / 0.6353 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1584, allocations: 30.56 kB / 0.6353 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1584, allocations: 0 / 0.6353 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.1588, allocations: 89.55 kB / 0.6354 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.1588, allocations: 51.41 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.1589, allocations: 105.8 kB / 0.6356 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1589, allocations: 25.7 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.159, allocations: 88.14 kB / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.159, allocations: 3.906 kB / 0.6357 GB, free: 400 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.159, allocations: 9.719 kB / 0.6357 GB, free: 384 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1591, allocations: 323 kB / 0.636 GB, free: 52 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.1592, allocations: 19.91 kB / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.1593, allocations: 15.98 kB / 0.636 GB, free: 16 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1595, allocations: 36.83 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1595, allocations: 0 / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.1597, allocations: 73.66 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1597, allocations: 4 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1597, allocations: 7.938 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1597, allocations: 0 / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.1598, allocations: 11.98 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1598, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.1599, allocations: 7.984 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1599, allocations: 4.031 kB / 0.6362 GB, free: 15.86 MB / 494.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 (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 7.469e-05/0.16, allocations: 113.8 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.16, allocations: 4 kB / 0.6363 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.1602, allocations: 68.72 kB / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1602, allocations: 0 / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1603, allocations: 0 / 0.6363 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1603, allocations: 4 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1604, allocations: 165.6 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1604, allocations: 0 / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.1605, allocations: 11.88 kB / 0.6365 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1605, allocations: 0 / 0.6365 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1605, allocations: 4 kB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1606, allocations: 3.984 kB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1606, allocations: 0 / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1608, allocations: 171.4 kB / 0.6367 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.1608, allocations: 77.11 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1609, allocations: 0 / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1609, allocations: 4 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.161, allocations: 3.984 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.161, allocations: 4 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1611, allocations: 79.28 kB / 0.6369 GB, free: 15.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1611, allocations: 0 / 0.6369 GB, free: 15.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1614, allocations: 24.03 kB / 0.6369 GB, free: 15.04 MB / 494.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 (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.0001748/0.1616, allocations: 111.2 kB / 0.637 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1618, allocations: 39.89 kB / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1618, allocations: 4.062 kB / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.1619, allocations: 19.98 kB / 0.637 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1621, allocations: 5.969 kB / 0.637 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.1624, allocations: 105.6 kB / 0.6371 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1626, allocations: 0.6806 MB / 0.6378 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.1626, allocations: 0 / 0.6378 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.1627, allocations: 15.5 kB / 0.6378 GB, free: 14 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1627, allocations: 0 / 0.6378 GB, free: 14 MB / 494.1 MB Notification: Performance of Templates: time 0.002837/0.1655, allocations: 0.6583 MB / 0.6385 GB, free: 13.34 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)