Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8903/0.8903, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001658/0.001658, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.915/1.915, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008586/0.0008586, allocations: 85.8 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 269.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.787e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3637, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4874, allocations: 108.5 MB / 0.8633 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4876, allocations: 75.84 kB / 0.8634 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007356/0.495, allocations: 2.452 MB / 0.8657 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.243e-06/0.495, allocations: 0 / 0.8657 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.495, allocations: 0 / 0.8657 GB, free: 0.8828 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.0003691/0.4954, allocations: 370.3 kB / 0.8661 GB, free: 488 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4954, allocations: 8.031 kB / 0.8661 GB, free: 480 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.4954, allocations: 4 kB / 0.8661 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4956, allocations: 171 kB / 0.8663 GB, free: 264 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.4956, allocations: 3.953 kB / 0.8663 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.4956, allocations: 0 / 0.8663 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.607e-05/0.4957, allocations: 12 kB / 0.8663 GB, free: 248 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.091e-05/0.4957, allocations: 33.69 kB / 0.8663 GB, free: 208 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.4957, allocations: 4 kB / 0.8663 GB, free: 204 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4958, allocations: 3.984 kB / 0.8663 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.4958, allocations: 0 / 0.8663 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.4961, allocations: 245.4 kB / 0.8666 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.4962, allocations: 26.58 kB / 0.8666 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.4962, allocations: 12.86 kB / 0.8666 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.4968, allocations: 457.5 kB / 0.867 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.4969, allocations: 34.56 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4969, allocations: 4 kB / 0.8671 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.497, allocations: 37.7 kB / 0.8671 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4971, allocations: 51.41 kB / 0.8672 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.4972, allocations: 96.92 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.4972, allocations: 25.7 kB / 0.8673 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.4972, allocations: 92.02 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.4972, allocations: 3.906 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.4972, allocations: 4.031 kB / 0.8674 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4974, allocations: 314.8 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.4974, allocations: 0 / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.4974, allocations: 8 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.4974, allocations: 4 kB / 0.8677 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4974, allocations: 0 / 0.8677 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.059e-05/0.4975, allocations: 45.64 kB / 0.8677 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4975, allocations: 8 kB / 0.8677 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4976, allocations: 96 / 0.8677 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4976, allocations: 4 kB / 0.8677 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.4977, allocations: 15.92 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4977, allocations: 1.719 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.4977, allocations: 8 kB / 0.8678 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.4978, allocations: 0 / 0.8678 GB, free: 14.53 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 6.06e-05/0.4978, allocations: 108.9 kB / 0.8679 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.4979, allocations: 11.86 kB / 0.8679 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.498, allocations: 45.44 kB / 0.8679 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.498, allocations: 4 kB / 0.8679 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.498, allocations: 0 / 0.8679 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.498, allocations: 0 / 0.8679 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.4981, allocations: 134.2 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4982, allocations: 0 / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.4983, allocations: 11.98 kB / 0.8681 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4983, allocations: 0 / 0.8681 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4983, allocations: 11.98 kB / 0.8681 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4983, allocations: 0 / 0.8681 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4983, allocations: 0 / 0.8681 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.4984, allocations: 143.5 kB / 0.8682 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.4985, allocations: 77.11 kB / 0.8683 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4985, allocations: 4 kB / 0.8683 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.4986, allocations: 15.97 kB / 0.8683 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.4986, allocations: 0 / 0.8683 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4986, allocations: 4 kB / 0.8683 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.4987, allocations: 75.28 kB / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4987, allocations: 0 / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002959/0.499, allocations: 51.92 kB / 0.8684 GB, free: 13.76 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.0002914/0.4993, allocations: 151.5 kB / 0.8686 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.4994, allocations: 15.98 kB / 0.8686 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.4994, allocations: 0 / 0.8686 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.4994, allocations: 8 kB / 0.8686 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.4996, allocations: 21.19 kB / 0.8686 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.4997, allocations: 59.92 kB / 0.8687 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.5, allocations: 0.6768 MB / 0.8693 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.045e-05/0.5, allocations: 0 / 0.8693 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.5, allocations: 11.44 kB / 0.8693 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5, allocations: 0 / 0.8693 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of Templates: time 0.00262/0.5026, allocations: 0.7383 MB / 0.8701 GB, free: 12.03 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)