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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001505/0.001505, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9461/0.9461, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 83.4 MB / 0.5973 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001391/0.1486, allocations: 1.14 MB / 0.5984 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004316/0.149, allocations: 240.2 kB / 0.5986 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.149, allocations: 0 / 0.5986 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.1491, allocations: 0 / 0.5986 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.1491, allocations: 4 kB / 0.5986 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1494, allocations: 43.77 kB / 0.5987 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.1494, allocations: 15.97 kB / 0.5987 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.585e-05/0.1495, allocations: 8 kB / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.1495, allocations: 4 kB / 0.5987 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.1496, allocations: 15.92 kB / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.1496, allocations: 0 / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1497, allocations: 59.94 kB / 0.5988 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.1497, allocations: 7.922 kB / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1498, allocations: 29.7 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.1499, allocations: 31.95 kB / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1499, allocations: 0 / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1499, allocations: 0 / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.1499, allocations: 0 / 0.5988 GB, free: 6.23 MB / 0.4981 GB 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.0003954/0.1503, allocations: 351.5 kB / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1503, allocations: 12.03 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.1504, allocations: 0 / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1505, allocations: 171 kB / 0.5993 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1505, allocations: 0 / 0.5993 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.1505, allocations: 4 kB / 0.5993 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1507, allocations: 61.61 kB / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1507, allocations: 0 / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1507, allocations: 0 / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1507, allocations: 0 / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1509, allocations: 39.97 kB / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.1512, allocations: 256.9 kB / 0.5997 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1513, allocations: 38.56 kB / 0.5997 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.1519, allocations: 457.5 kB / 0.6002 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.152, allocations: 38.5 kB / 0.6002 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.152, allocations: 0 / 0.6002 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.1523, allocations: 97.64 kB / 0.6003 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1524, allocations: 51.41 kB / 0.6003 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.1525, allocations: 101.8 kB / 0.6004 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1525, allocations: 25.7 kB / 0.6005 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.1525, allocations: 92.03 kB / 0.6005 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.1525, allocations: 4.125 kB / 0.6005 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.1525, allocations: 0 / 0.6005 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1527, allocations: 314.8 kB / 0.6008 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.1528, allocations: 19.98 kB / 0.6009 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.1528, allocations: 23.92 kB / 0.6009 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.46e-05/0.1529, allocations: 28.03 kB / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1529, allocations: 0 / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.1532, allocations: 81.58 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1532, allocations: 7.938 kB / 0.601 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.1532, allocations: 0 / 0.601 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1532, allocations: 7.984 kB / 0.601 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1533, allocations: 8 kB / 0.601 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1533, allocations: 0 / 0.601 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1534, allocations: 7.984 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1534, allocations: 3.953 kB / 0.601 GB, free: 3.668 MB / 0.4981 GB 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.625e-05/0.1534, allocations: 115.9 kB / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1535, allocations: 0 / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.1537, allocations: 84.72 kB / 0.6012 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1537, allocations: 7.969 kB / 0.6012 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1537, allocations: 3.984 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1537, allocations: 0 / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1539, allocations: 161.8 kB / 0.6014 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1539, allocations: 4 kB / 0.6014 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.154, allocations: 15.98 kB / 0.6014 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.154, allocations: 3.984 kB / 0.6014 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.154, allocations: 0 / 0.6014 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.154, allocations: 3.984 kB / 0.6014 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.154, allocations: 0 / 0.6014 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1542, allocations: 179.4 kB / 0.6016 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1543, allocations: 88.95 kB / 0.6017 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.1543, allocations: 4.031 kB / 0.6017 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.1544, allocations: 7.984 kB / 0.6017 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.1544, allocations: 4 kB / 0.6017 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1544, allocations: 0 / 0.6017 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.1545, allocations: 79.28 kB / 0.6018 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1545, allocations: 0 / 0.6018 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002418/0.1547, allocations: 19.98 kB / 0.6018 GB, free: 2.805 MB / 0.4981 GB 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.0001878/0.1549, allocations: 115.2 kB / 0.6019 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1551, allocations: 47.95 kB / 0.6019 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1551, allocations: 4.062 kB / 0.6019 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.1552, allocations: 23.92 kB / 0.602 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1554, allocations: 11.95 kB / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.1556, allocations: 100.7 kB / 0.6021 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1559, allocations: 0.6888 MB / 0.6027 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.1559, allocations: 0 / 0.6027 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.1559, allocations: 7.438 kB / 0.6027 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1559, allocations: 0 / 0.6027 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of Templates: time 0.002548/0.1585, allocations: 0.5741 MB / 0.6033 GB, free: 1.176 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: