Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7734/0.7734, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 176.5 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 447.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.0009289, allocations: 96.27 kB / 0.5188 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 271.8 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004756, allocations: 12 kB / 0.6929 GB, free: 2.293 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4652, allocations: 82.78 MB / 0.7737 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.6177, allocations: 108.8 MB / 0.88 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.618, allocations: 71.84 kB / 0.8801 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004704/0.6227, allocations: 1.586 MB / 0.8816 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6228, allocations: 0 / 0.8816 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6228, allocations: 0 / 0.8816 GB, free: 11.56 MB / 0.5417 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.0004477/0.6232, allocations: 351.3 kB / 0.882 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6233, allocations: 12.03 kB / 0.882 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.6233, allocations: 3.906 kB / 0.882 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6235, allocations: 171 kB / 0.8821 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.6235, allocations: 7.953 kB / 0.8821 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.6235, allocations: 0 / 0.8821 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.6237, allocations: 57.66 kB / 0.8822 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6237, allocations: 0 / 0.8822 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6237, allocations: 0 / 0.8822 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6237, allocations: 0 / 0.8822 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.6239, allocations: 47.91 kB / 0.8822 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.6244, allocations: 272.9 kB / 0.8825 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.6245, allocations: 38.56 kB / 0.8825 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/0.6252, allocations: 445.5 kB / 0.883 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6252, allocations: 42.48 kB / 0.883 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6252, allocations: 3.938 kB / 0.883 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003751/0.6256, allocations: 93.75 kB / 0.8831 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.6257, allocations: 55.39 kB / 0.8832 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.6257, allocations: 93 kB / 0.8832 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6258, allocations: 25.7 kB / 0.8833 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.6258, allocations: 84.14 kB / 0.8833 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.6258, allocations: 3.906 kB / 0.8833 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.6259, allocations: 0 / 0.8833 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.626, allocations: 322.9 kB / 0.8837 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.6261, allocations: 19.98 kB / 0.8837 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.6262, allocations: 19.98 kB / 0.8837 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.6262, allocations: 24.05 kB / 0.8837 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6263, allocations: 7.891 kB / 0.8837 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001842/0.6264, allocations: 77.59 kB / 0.8838 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6265, allocations: 4.938 kB / 0.8838 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6265, allocations: 4.031 kB / 0.8838 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6265, allocations: 0 / 0.8838 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.6266, allocations: 15.98 kB / 0.8838 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6266, allocations: 0 / 0.8838 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.6267, allocations: 15.89 kB / 0.8838 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.6267, allocations: 0 / 0.8838 GB, free: 8.988 MB / 0.5417 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 9.285e-05/0.6268, allocations: 114.4 kB / 0.8839 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.6268, allocations: 3.953 kB / 0.8839 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.627, allocations: 84.72 kB / 0.884 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6271, allocations: 0 / 0.884 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6271, allocations: 0 / 0.884 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6271, allocations: 4.031 kB / 0.884 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.6272, allocations: 157.7 kB / 0.8842 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6273, allocations: 4 kB / 0.8842 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.6273, allocations: 15.95 kB / 0.8842 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6273, allocations: 0 / 0.8842 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6273, allocations: 0 / 0.8842 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6273, allocations: 3.984 kB / 0.8842 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6274, allocations: 0 / 0.8842 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.6276, allocations: 171.5 kB / 0.8844 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.6277, allocations: 89.03 kB / 0.8845 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.6277, allocations: 3.953 kB / 0.8845 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.6278, allocations: 8.031 kB / 0.8845 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.6278, allocations: 7.984 kB / 0.8845 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.6278, allocations: 0 / 0.8845 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.6279, allocations: 79.28 kB / 0.8846 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6279, allocations: 0 / 0.8846 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002569/0.6281, allocations: 27.94 kB / 0.8846 GB, free: 8.129 MB / 0.5417 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.0002487/0.6284, allocations: 139.5 kB / 0.8847 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.6286, allocations: 43.97 kB / 0.8848 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6286, allocations: 4.062 kB / 0.8848 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.6287, allocations: 23.98 kB / 0.8848 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.6289, allocations: 6.344 kB / 0.8848 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.6292, allocations: 112.5 kB / 0.8849 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.6295, allocations: 0.681 MB / 0.8856 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.6295, allocations: 7.984 kB / 0.8856 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.6295, allocations: 7.438 kB / 0.8856 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6295, allocations: 0 / 0.8856 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of Templates: time 0.002515/0.632, allocations: 0.5575 MB / 0.8861 GB, free: 6.5 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)