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.9342/0.9342, allocations: 141.8 MB / 149.3 MB, free: 9.25 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.001417/0.001417, allocations: 183.8 kB / 182.2 MB, free: 9.477 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.403/1.403, 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.001012/0.001012, allocations: 84.12 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 287.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.861e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3782, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5165, allocations: 108.1 MB / 0.8629 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5167, allocations: 79.81 kB / 0.863 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004652/0.5214, allocations: 1.529 MB / 0.8645 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5214, allocations: 0 / 0.8645 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.5214, allocations: 0 / 0.8645 GB, free: 2.234 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.0003337/0.5218, allocations: 346.5 kB / 0.8648 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5218, allocations: 12.03 kB / 0.8648 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.5218, allocations: 0 / 0.8648 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.522, allocations: 166.9 kB / 0.865 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.522, allocations: 3.953 kB / 0.865 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.522, allocations: 4 kB / 0.865 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.901e-05/0.5221, allocations: 8 kB / 0.865 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.5221, allocations: 45.62 kB / 0.865 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.5222, allocations: 3.938 kB / 0.865 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.5222, allocations: 0 / 0.865 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5222, allocations: 4 kB / 0.865 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.5225, allocations: 241.5 kB / 0.8653 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.686e-05/0.5226, allocations: 38.5 kB / 0.8653 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.5226, allocations: 8.922 kB / 0.8653 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.5231, allocations: 441.5 kB / 0.8657 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5232, allocations: 38.56 kB / 0.8658 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5232, allocations: 0 / 0.8658 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.5233, allocations: 37.7 kB / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.5234, allocations: 51.41 kB / 0.8659 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.5234, allocations: 96.98 kB / 0.866 GB, free: 464 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.5235, allocations: 25.7 kB / 0.866 GB, free: 432 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.5235, allocations: 88.08 kB / 0.8661 GB, free: 340 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.5235, allocations: 3.906 kB / 0.8661 GB, free: 336 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5235, allocations: 0 / 0.8661 GB, free: 336 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5237, allocations: 318.8 kB / 0.8664 GB, free: 8 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.5237, allocations: 8 kB / 0.8664 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.5237, allocations: 4.047 kB / 0.8664 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.5238, allocations: 4 kB / 0.8664 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5238, allocations: 0 / 0.8664 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.772e-05/0.5238, allocations: 45.59 kB / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5239, allocations: 4 kB / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5239, allocations: 0 / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.5239, allocations: 96 / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.524, allocations: 19.98 kB / 0.8664 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.524, allocations: 4 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.5241, allocations: 4 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5241, allocations: 0 / 0.8665 GB, free: 15.91 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 7.073e-05/0.5241, allocations: 109 kB / 0.8666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5242, allocations: 7.859 kB / 0.8666 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.5243, allocations: 53.38 kB / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5243, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5243, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5243, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.5244, allocations: 138.2 kB / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5244, allocations: 0 / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.5245, allocations: 15.98 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5245, allocations: 0 / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5246, allocations: 3.953 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5246, allocations: 4.031 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5246, allocations: 0 / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.5247, allocations: 143.4 kB / 0.8669 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.5247, allocations: 77.11 kB / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.5248, allocations: 0 / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.5248, allocations: 15.94 kB / 0.867 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.5249, allocations: 4.031 kB / 0.867 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5249, allocations: 0 / 0.867 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.5249, allocations: 83.28 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5249, allocations: 0 / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002424/0.5252, allocations: 23.94 kB / 0.8671 GB, free: 15.16 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.0002085/0.5254, allocations: 123.2 kB / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.524e-05/0.5255, allocations: 15.98 kB / 0.8672 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5255, allocations: 0 / 0.8672 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.5255, allocations: 7.938 kB / 0.8672 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.5257, allocations: 4.859 kB / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001643/0.5258, allocations: 63.88 kB / 0.8673 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.5261, allocations: 0.6769 MB / 0.868 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.5261, allocations: 4 kB / 0.868 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.5261, allocations: 7.438 kB / 0.868 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.5261, allocations: 4 kB / 0.868 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.002204/0.5283, allocations: 0.5251 MB / 0.8685 GB, free: 13.68 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)