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.0008125/0.0008123, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009297/0.0009297, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.368/1.368, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7738/0.7738, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 77.53 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.00153/0.1362, allocations: 1.139 MB / 0.5604 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005236/0.1367, allocations: 228.4 kB / 0.5607 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.1367, allocations: 4 kB / 0.5607 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1368, allocations: 0 / 0.5607 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.1368, allocations: 3.938 kB / 0.5607 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1371, allocations: 47.89 kB / 0.5607 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.1372, allocations: 15.94 kB / 0.5607 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.1373, allocations: 7.984 kB / 0.5607 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.1373, allocations: 4 kB / 0.5607 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.1374, allocations: 19.84 kB / 0.5608 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1374, allocations: 0 / 0.5608 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1376, allocations: 71.83 kB / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.1376, allocations: 0 / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.1376, allocations: 25.7 kB / 0.5608 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.853e-05/0.1377, allocations: 35.92 kB / 0.5609 GB, free: 7.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1377, allocations: 0 / 0.5609 GB, free: 7.801 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1377, allocations: 0 / 0.5609 GB, free: 7.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1377, allocations: 0 / 0.5609 GB, free: 7.801 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.0003931/0.1381, allocations: 351.6 kB / 0.5612 GB, free: 7.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.1382, allocations: 8.031 kB / 0.5612 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.1382, allocations: 7.906 kB / 0.5612 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.1383, allocations: 159.1 kB / 0.5614 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1383, allocations: 0 / 0.5614 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1383, allocations: 0 / 0.5614 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1385, allocations: 57.61 kB / 0.5614 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1385, allocations: 11.95 kB / 0.5615 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1385, allocations: 0 / 0.5615 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1386, allocations: 0 / 0.5615 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1387, allocations: 43.95 kB / 0.5615 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.139, allocations: 248.9 kB / 0.5617 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1392, allocations: 42.53 kB / 0.5618 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.1392, allocations: 32.86 kB / 0.5618 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/0.1399, allocations: 461.5 kB / 0.5622 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1399, allocations: 30.56 kB / 0.5623 GB, free: 6.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1399, allocations: 0 / 0.5623 GB, free: 6.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003381/0.1402, allocations: 93.64 kB / 0.5624 GB, free: 6.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1403, allocations: 55.41 kB / 0.5624 GB, free: 5.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.1404, allocations: 97.86 kB / 0.5625 GB, free: 5.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1404, allocations: 33.77 kB / 0.5625 GB, free: 5.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1404, allocations: 84.14 kB / 0.5626 GB, free: 5.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1404, allocations: 7.891 kB / 0.5626 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.1405, allocations: 0 / 0.5626 GB, free: 5.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1406, allocations: 314.8 kB / 0.5629 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.1406, allocations: 23.92 kB / 0.563 GB, free: 5.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1407, allocations: 23.98 kB / 0.563 GB, free: 5.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.1408, allocations: 19.98 kB / 0.563 GB, free: 5.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1408, allocations: 0 / 0.563 GB, free: 5.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.141, allocations: 85.58 kB / 0.5631 GB, free: 5.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.141, allocations: 8 kB / 0.5631 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.141, allocations: 0 / 0.5631 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.1411, allocations: 0 / 0.5631 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.1411, allocations: 11.98 kB / 0.5631 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1412, allocations: 0 / 0.5631 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1412, allocations: 23.95 kB / 0.5631 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1412, allocations: 0 / 0.5631 GB, free: 5.203 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.21e-05/0.1413, allocations: 113.8 kB / 0.5632 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1413, allocations: 7.953 kB / 0.5632 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.1415, allocations: 76.78 kB / 0.5633 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1416, allocations: 4.188 kB / 0.5633 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1416, allocations: 0 / 0.5633 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1416, allocations: 3.984 kB / 0.5633 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1417, allocations: 157.7 kB / 0.5635 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1417, allocations: 0 / 0.5635 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.1418, allocations: 11.98 kB / 0.5635 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1418, allocations: 0 / 0.5635 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1418, allocations: 7.984 kB / 0.5635 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1418, allocations: 0 / 0.5635 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1418, allocations: 4 kB / 0.5635 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1421, allocations: 175.5 kB / 0.5637 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1421, allocations: 84.95 kB / 0.5637 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1421, allocations: 0 / 0.5637 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.1422, allocations: 15.94 kB / 0.5637 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1423, allocations: 0 / 0.5637 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1423, allocations: 0 / 0.5637 GB, free: 4.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.1423, allocations: 83.28 kB / 0.5638 GB, free: 4.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1423, allocations: 0 / 0.5638 GB, free: 4.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1426, allocations: 20 kB / 0.5638 GB, free: 4.355 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.0002048/0.1428, allocations: 111.3 kB / 0.564 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.143, allocations: 59.83 kB / 0.564 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.143, allocations: 0 / 0.564 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.1431, allocations: 23.98 kB / 0.564 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1433, allocations: 4 kB / 0.564 GB, free: 4.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.1436, allocations: 104.8 kB / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1438, allocations: 0.677 MB / 0.5648 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.401e-05/0.1438, allocations: 4 kB / 0.5648 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.1438, allocations: 7.438 kB / 0.5648 GB, free: 3.309 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1439, allocations: 0 / 0.5648 GB, free: 3.309 MB / 430.1 MB Notification: Performance of Templates: time 0.002629/0.1465, allocations: 0.5663 MB / 0.5654 GB, free: 2.742 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)