Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8323/0.8323, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.001317/0.001317, allocations: 183.6 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.697/1.697, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0009708/0.0009708, allocations: 84.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 274.8 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004498, allocations: 16.72 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 82.79 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.3303, allocations: 108.1 MB / 0.8793 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004303/0.3309, allocations: 73.98 kB / 0.8794 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004124/0.335, allocations: 1.288 MB / 0.8806 GB, free: 208 kB / 0.5417 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3351, allocations: 0 / 0.8806 GB, free: 208 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3351, allocations: 0 / 0.8806 GB, free: 208 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.3987/0.7338, allocations: 328.6 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.7339, allocations: 10.58 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.7339, allocations: 0 / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.384e-05/0.734, allocations: 161.9 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.734, allocations: 3.953 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.7341, allocations: 2.062 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.7342, allocations: 31.64 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7342, allocations: 0.5156 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.7342, allocations: 1.156 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7342, allocations: 0.875 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.7342, allocations: 2.078 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.7344, allocations: 147 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.7344, allocations: 23.39 kB / 0.8813 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.7351, allocations: 453.5 kB / 0.8817 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.7351, allocations: 34.11 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7351, allocations: 0 / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.7353, allocations: 35.98 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.7353, allocations: 52 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.533e-05/0.7353, allocations: 85.84 kB / 0.8819 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.7353, allocations: 31.8 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.432e-05/0.7354, allocations: 81.58 kB / 0.882 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.7354, allocations: 0 / 0.882 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-06/0.7354, allocations: 0.6875 kB / 0.882 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.7354, allocations: 312.3 kB / 0.8823 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.7355, allocations: 6.938 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.7355, allocations: 2.219 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.678e-05/0.7355, allocations: 2.562 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7355, allocations: 0 / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.39e-05/0.7356, allocations: 36.88 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7356, allocations: 5.734 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7356, allocations: 3.953 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7356, allocations: 1.797 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.7357, allocations: 0.9062 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7357, allocations: 1.516 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.7357, allocations: 0 / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.7357, allocations: 3.938 kB / 0.8824 GB, free: 107.4 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 (1): * Single equations (assignments): 1 * 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.008e-05/0.7357, allocations: 114.5 kB / 0.8825 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.7358, allocations: 5.781 kB / 0.8825 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.7358, allocations: 39.53 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7358, allocations: 3.953 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7359, allocations: 0.75 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7359, allocations: 6.219 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.808e-05/0.7359, allocations: 148.6 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7359, allocations: 0 / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.736, allocations: 4.891 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.736, allocations: 0.9688 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.736, allocations: 0 / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.736, allocations: 1.656 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.736, allocations: 3.953 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.253e-05/0.736, allocations: 63.17 kB / 0.8828 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.7361, allocations: 80.3 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.7361, allocations: 0.9375 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.7361, allocations: 1.188 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.7361, allocations: 3.953 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.7361, allocations: 2.375 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.399e-05/0.7361, allocations: 75.28 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7362, allocations: 3.391 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002401/0.7364, allocations: 24.2 kB / 0.883 GB, free: 106.8 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 (1): * Single equations (assignments): 1 * 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.0002442/0.7366, allocations: 133.7 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.092e-05/0.7367, allocations: 3.062 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7367, allocations: 0.6562 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.7367, allocations: 13.38 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.526e-05/0.7368, allocations: 6.578 kB / 0.8831 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001603/0.737, allocations: 74.78 kB / 0.8832 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.851e-05/0.7371, allocations: 0.6716 MB / 0.8838 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.253e-05/0.7371, allocations: 7.812 kB / 0.8839 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.7371, allocations: 11.27 kB / 0.8839 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of SimCode: time 4e-07/0.7371, allocations: 0 / 0.8839 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.002186/0.7393, allocations: 379 kB / 0.8842 GB, free: 105.8 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)