Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.000943, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009884/0.0009885, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.295/1.295, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7101/0.7101, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12.78 kB / 493 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 77.16 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001311/0.1402, allocations: 1.126 MB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.1406, allocations: 232.3 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.1407, allocations: 0 / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.1407, allocations: 0 / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.315e-05/0.1407, allocations: 0 / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.141, allocations: 43.83 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.141, allocations: 15.98 kB / 0.5582 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.1411, allocations: 8 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.1411, allocations: 7.969 kB / 0.5582 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.1412, allocations: 7.938 kB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.1412, allocations: 0 / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1413, allocations: 63.94 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1413, allocations: 4 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.1414, allocations: 29.64 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.054e-05/0.1415, allocations: 35.94 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1415, allocations: 0 / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1415, allocations: 4 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1415, allocations: 0 / 0.5584 GB, free: 10.01 MB / 430.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.0003989/0.1419, allocations: 343.6 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1419, allocations: 12.02 kB / 0.5587 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.142, allocations: 11.89 kB / 0.5587 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.1421, allocations: 159.1 kB / 0.5589 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1421, allocations: 4 kB / 0.5589 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1421, allocations: 7.938 kB / 0.5589 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1423, allocations: 49.67 kB / 0.5589 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1423, allocations: 3.953 kB / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1423, allocations: 8 kB / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1423, allocations: 0 / 0.5589 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.1425, allocations: 47.91 kB / 0.559 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.1428, allocations: 245 kB / 0.5592 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1429, allocations: 42.56 kB / 0.5593 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/0.1435, allocations: 457.5 kB / 0.5597 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1436, allocations: 30.56 kB / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1436, allocations: 0 / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003631/0.144, allocations: 105.6 kB / 0.5598 GB, free: 8.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.144, allocations: 51.41 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.1441, allocations: 109.9 kB / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1441, allocations: 25.7 kB / 0.56 GB, free: 8.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.1442, allocations: 84.12 kB / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.1442, allocations: 7.906 kB / 0.5601 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1442, allocations: 4 kB / 0.5601 GB, free: 7.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.1443, allocations: 310.8 kB / 0.5604 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.1444, allocations: 19.98 kB / 0.5604 GB, free: 7.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.1445, allocations: 27.97 kB / 0.5604 GB, free: 7.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.1446, allocations: 15.98 kB / 0.5605 GB, free: 7.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1446, allocations: 4 kB / 0.5605 GB, free: 7.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002463/0.1448, allocations: 85.58 kB / 0.5605 GB, free: 7.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1449, allocations: 11.94 kB / 0.5606 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1449, allocations: 0 / 0.5606 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1449, allocations: 0 / 0.5606 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.145, allocations: 8 kB / 0.5606 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.145, allocations: 4.031 kB / 0.5606 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.145, allocations: 15.98 kB / 0.5606 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.145, allocations: 0 / 0.5606 GB, free: 7.438 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.1451, allocations: 111.6 kB / 0.5607 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.1451, allocations: 0 / 0.5607 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1454, allocations: 96.66 kB / 0.5608 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1454, allocations: 0 / 0.5608 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1454, allocations: 0 / 0.5608 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1454, allocations: 3.938 kB / 0.5608 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1456, allocations: 153.7 kB / 0.5609 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1456, allocations: 0 / 0.5609 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.1456, allocations: 11.98 kB / 0.5609 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1456, allocations: 4.031 kB / 0.561 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1457, allocations: 4 kB / 0.561 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1457, allocations: 3.953 kB / 0.561 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1457, allocations: 0 / 0.561 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1459, allocations: 171.5 kB / 0.5611 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.146, allocations: 81.05 kB / 0.5612 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.146, allocations: 4 kB / 0.5612 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.1461, allocations: 11.92 kB / 0.5612 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1461, allocations: 3.953 kB / 0.5612 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1461, allocations: 4 kB / 0.5612 GB, free: 6.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.1462, allocations: 79.27 kB / 0.5613 GB, free: 6.609 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1462, allocations: 4.031 kB / 0.5613 GB, free: 6.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1464, allocations: 23.91 kB / 0.5613 GB, free: 6.582 MB / 430.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 (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.0001866/0.1466, allocations: 115.9 kB / 0.5614 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1468, allocations: 47.95 kB / 0.5615 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1468, allocations: 3.938 kB / 0.5615 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.1469, allocations: 19.98 kB / 0.5615 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.1471, allocations: 9.875 kB / 0.5615 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.1473, allocations: 112.8 kB / 0.5616 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1476, allocations: 0.6809 MB / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.114e-05/0.1476, allocations: 0 / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.1476, allocations: 11.38 kB / 0.5623 GB, free: 5.527 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1476, allocations: 0 / 0.5623 GB, free: 5.527 MB / 430.1 MB Notification: Performance of Templates: time 0.002575/0.1502, allocations: 0.5783 MB / 0.5629 GB, free: 4.953 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)