Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.824/1.824, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 168.6 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007435/0.0007436, allocations: 91.73 kB / 0.7808 GB, free: 43.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 12 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6419, allocations: 120.3 MB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.8221, allocations: 141.4 MB / 1.164 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.8224, allocations: 71.91 kB / 1.164 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004257/0.8267, allocations: 1.542 MB / 1.166 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8267, allocations: 0 / 1.166 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8267, allocations: 1.031 kB / 1.166 GB, free: 15.25 MB / 0.7448 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.0003427/0.827, allocations: 353.9 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8271, allocations: 8.031 kB / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.8271, allocations: 4.844 kB / 1.166 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.8272, allocations: 168.4 kB / 1.166 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.8272, allocations: 1.062 kB / 1.166 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.8273, allocations: 2.391 kB / 1.166 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.8274, allocations: 57.55 kB / 1.167 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8275, allocations: 4.125 kB / 1.167 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.8275, allocations: 3.938 kB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.8275, allocations: 4 kB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.8276, allocations: 43.97 kB / 1.167 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.828, allocations: 272.8 kB / 1.167 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.8281, allocations: 46.5 kB / 1.167 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.8282, allocations: 20.91 kB / 1.167 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/0.8287, allocations: 453.4 kB / 1.167 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.8288, allocations: 34.55 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.8288, allocations: 0 / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003193/0.8291, allocations: 93.66 kB / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.8291, allocations: 51.41 kB / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.8292, allocations: 106.8 kB / 1.168 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8292, allocations: 25.7 kB / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.8293, allocations: 80.14 kB / 1.168 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.8293, allocations: 8.031 kB / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8293, allocations: 0 / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.8294, allocations: 322.8 kB / 1.168 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.8295, allocations: 15.98 kB / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.8296, allocations: 31.92 kB / 1.168 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.8297, allocations: 48.81 kB / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8297, allocations: 0 / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.8299, allocations: 81.58 kB / 1.168 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8299, allocations: 4 kB / 1.168 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8299, allocations: 4 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.8299, allocations: 0 / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.83, allocations: 11.98 kB / 1.168 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.83, allocations: 4 kB / 1.168 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.8301, allocations: 12.02 kB / 1.168 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.8301, allocations: 0 / 1.168 GB, free: 12.62 MB / 0.7448 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.561e-05/0.8302, allocations: 121.7 kB / 1.168 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.8302, allocations: 3.938 kB / 1.168 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.8304, allocations: 80.78 kB / 1.168 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8304, allocations: 0 / 1.168 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8304, allocations: 0.7031 kB / 1.168 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8305, allocations: 0 / 1.168 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.8306, allocations: 161.6 kB / 1.169 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8306, allocations: 0 / 1.169 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.8307, allocations: 15.98 kB / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.8307, allocations: 4.031 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.8307, allocations: 3.938 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8307, allocations: 0 / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8307, allocations: 0 / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.8309, allocations: 179.4 kB / 1.169 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.831, allocations: 82.8 kB / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.831, allocations: 0 / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.8311, allocations: 7.984 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.8311, allocations: 4 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8311, allocations: 0 / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.8312, allocations: 83.28 kB / 1.169 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8312, allocations: 0 / 1.169 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002355/0.8314, allocations: 35.86 kB / 1.169 GB, free: 11.75 MB / 0.7448 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.000232/0.8317, allocations: 127.7 kB / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.8319, allocations: 51.91 kB / 1.169 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8319, allocations: 0 / 1.169 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.832, allocations: 27.97 kB / 1.169 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8322, allocations: 8.062 kB / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.8325, allocations: 104.9 kB / 1.169 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.8327, allocations: 0.677 MB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.8327, allocations: 4 kB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.8328, allocations: 7.438 kB / 1.17 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of SimCode: time 1.343e-06/0.8328, allocations: 0 / 1.17 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of Templates: time 0.002318/0.8351, allocations: 0.5642 MB / 1.17 GB, free: 10.13 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)