Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001089/0.001089, allocations: 172.9 kB / 182.2 MB, free: 9.469 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.408/1.408, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009102/0.0009099, allocations: 92.02 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 277.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.578e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.371, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5019, allocations: 108.4 MB / 0.8632 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.5022, allocations: 75.83 kB / 0.8633 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007359/0.5095, allocations: 2.387 MB / 0.8656 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5096, allocations: 0 / 0.8656 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5096, allocations: 0 / 0.8656 GB, free: 1.051 MB / 0.5261 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.0003693/0.51, allocations: 354.4 kB / 0.8659 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.51, allocations: 15.97 kB / 0.866 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.51, allocations: 0 / 0.866 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.5101, allocations: 171 kB / 0.8661 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.5102, allocations: 11.89 kB / 0.8661 GB, free: 436 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.5102, allocations: 3.938 kB / 0.8661 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.043e-05/0.5102, allocations: 7.984 kB / 0.8661 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.308e-05/0.5103, allocations: 37.7 kB / 0.8662 GB, free: 380 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.5103, allocations: 3.984 kB / 0.8662 GB, free: 376 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.5103, allocations: 0 / 0.8662 GB, free: 376 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.5104, allocations: 0 / 0.8662 GB, free: 376 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.5107, allocations: 253.5 kB / 0.8664 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.5108, allocations: 26.52 kB / 0.8664 GB, free: 48 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.5108, allocations: 8.922 kB / 0.8665 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.5114, allocations: 449.5 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5114, allocations: 30.56 kB / 0.8669 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.5114, allocations: 0 / 0.8669 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.5116, allocations: 41.69 kB / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.5116, allocations: 51.41 kB / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.5117, allocations: 93 kB / 0.8671 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.5117, allocations: 33.64 kB / 0.8671 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.5118, allocations: 84.17 kB / 0.8672 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5118, allocations: 7.844 kB / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.5118, allocations: 0 / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5119, allocations: 318.8 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.5119, allocations: 4 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.512, allocations: 8 kB / 0.8675 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.512, allocations: 0 / 0.8675 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.512, allocations: 4 kB / 0.8675 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.967e-05/0.5121, allocations: 45.72 kB / 0.8676 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5121, allocations: 4 kB / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5121, allocations: 0 / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5121, allocations: 0 / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.5122, allocations: 15.98 kB / 0.8676 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5123, allocations: 0 / 0.8676 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.5123, allocations: 7.984 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.5123, allocations: 0 / 0.8676 GB, free: 14.71 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 () * 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 8.573e-05/0.5124, allocations: 109 kB / 0.8677 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.5124, allocations: 11.8 kB / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.5126, allocations: 49.19 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5126, allocations: 3.938 kB / 0.8678 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5126, allocations: 0 / 0.8678 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5126, allocations: 0 / 0.8678 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.5127, allocations: 134.2 kB / 0.8679 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5127, allocations: 4 kB / 0.8679 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.5128, allocations: 20.02 kB / 0.8679 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5128, allocations: 0 / 0.8679 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.5128, allocations: 7.891 kB / 0.8679 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5129, allocations: 0 / 0.8679 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5129, allocations: 0 / 0.8679 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.513, allocations: 139.5 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.513, allocations: 77.11 kB / 0.8681 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.5131, allocations: 4.031 kB / 0.8681 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.5131, allocations: 15.94 kB / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5132, allocations: 0 / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.5132, allocations: 4 kB / 0.8682 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.5132, allocations: 79.28 kB / 0.8682 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5132, allocations: 0 / 0.8682 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002824/0.5135, allocations: 39.92 kB / 0.8683 GB, free: 13.95 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 () * 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.0003001/0.5138, allocations: 159.5 kB / 0.8684 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.5139, allocations: 16 kB / 0.8684 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5139, allocations: 0 / 0.8684 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.5139, allocations: 15.94 kB / 0.8685 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.5141, allocations: 1.719 kB / 0.8685 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.5143, allocations: 56 kB / 0.8685 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.5145, allocations: 0.6768 MB / 0.8692 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.5146, allocations: 4 kB / 0.8692 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.5146, allocations: 11.56 kB / 0.8692 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5146, allocations: 3.938 kB / 0.8692 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of Templates: time 0.002582/0.5172, allocations: 0.733 MB / 0.8699 GB, free: 12.22 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)