Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8594/0.8594, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001167/0.001167, allocations: 183.6 kB / 191.5 MB, free: 5.754 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.498/1.498, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.0009065/0.0009068, allocations: 91.45 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 274 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005141, allocations: 14.25 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.3754, allocations: 108.8 MB / 0.88 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.3757, allocations: 77.98 kB / 0.88 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3973/0.773, allocations: 1.534 MB / 0.8815 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7731, allocations: 0.9375 kB / 0.8815 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.7731, allocations: 0 / 0.8815 GB, free: 109.1 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.0004037/0.7735, allocations: 354.4 kB / 0.8819 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.7736, allocations: 12.03 kB / 0.8819 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.7736, allocations: 6.125 kB / 0.8819 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.7737, allocations: 167.7 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7737, allocations: 6.234 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.7738, allocations: 3.156 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.774, allocations: 55.31 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.774, allocations: 2.188 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.774, allocations: 3.938 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.774, allocations: 1.219 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.7742, allocations: 48.08 kB / 0.8822 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.7746, allocations: 273.9 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.7747, allocations: 38.55 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/0.7752, allocations: 443.2 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.7752, allocations: 31.69 kB / 0.8829 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7752, allocations: 0.9688 kB / 0.8829 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000352/0.7756, allocations: 102.9 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.7756, allocations: 51.41 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.7757, allocations: 93.7 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.7757, allocations: 25.83 kB / 0.8832 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.7757, allocations: 88.11 kB / 0.8833 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.7757, allocations: 3.906 kB / 0.8833 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.7758, allocations: 0 / 0.8833 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.7758, allocations: 321.2 kB / 0.8836 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.7759, allocations: 16.5 kB / 0.8836 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.776, allocations: 27.52 kB / 0.8836 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.776, allocations: 16.72 kB / 0.8836 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.7761, allocations: 7.125 kB / 0.8836 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.7762, allocations: 84.78 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7763, allocations: 6.953 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7763, allocations: 7.234 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7763, allocations: 0 / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.7764, allocations: 10.25 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.7764, allocations: 1.094 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.7764, allocations: 16.03 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.7765, allocations: 0 / 0.8838 GB, free: 107 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 5.319e-05/0.7765, allocations: 109.7 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.7765, allocations: 7.203 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.7768, allocations: 83.36 kB / 0.8839 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7768, allocations: 5.016 kB / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7768, allocations: 0 / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.7768, allocations: 0 / 0.884 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.7769, allocations: 161.5 kB / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7769, allocations: 0 / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.777, allocations: 15.55 kB / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.777, allocations: 3.281 kB / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.777, allocations: 4.031 kB / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.777, allocations: 3.344 kB / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.777, allocations: 0 / 0.8841 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.7772, allocations: 168.5 kB / 0.8843 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.7773, allocations: 81.05 kB / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.7773, allocations: 8.969 kB / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.7774, allocations: 7.531 kB / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.7774, allocations: 3.375 kB / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.7774, allocations: 2.062 kB / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.519e-05/0.7775, allocations: 83.28 kB / 0.8845 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7775, allocations: 6.234 kB / 0.8845 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002348/0.7777, allocations: 25.66 kB / 0.8845 GB, free: 106.4 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.0002085/0.7779, allocations: 126.2 kB / 0.8846 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.7781, allocations: 49.89 kB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7782, allocations: 0 / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.7782, allocations: 25.12 kB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.7784, allocations: 5.25 kB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.7787, allocations: 115.9 kB / 0.8848 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.7788, allocations: 0.6811 MB / 0.8855 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.7789, allocations: 3.938 kB / 0.8855 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.7789, allocations: 7.438 kB / 0.8855 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7789, allocations: 2.688 kB / 0.8855 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.002495/0.7814, allocations: 0.556 MB / 0.886 GB, free: 105.4 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)