Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001002, allocations: 176.6 kB / 327.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.000772, allocations: 89.81 kB / 0.6831 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.00038, allocations: 13.78 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 106.3 MB / 0.9012 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.3296, allocations: 131.9 MB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.3298, allocations: 75.95 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004525/0.3344, allocations: 1.57 MB / 1.032 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3344, allocations: 0 / 1.032 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3344, allocations: 0 / 1.032 GB, free: 10.3 MB / 0.6823 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.0003906/0.3348, allocations: 359.4 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3349, allocations: 12.03 kB / 1.032 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.3349, allocations: 0.9375 kB / 1.032 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3351, allocations: 176.2 kB / 1.032 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3351, allocations: 4.375 kB / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3351, allocations: 384 / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3353, allocations: 55.92 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3353, allocations: 192 / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3354, allocations: 7.938 kB / 1.032 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3354, allocations: 0 / 1.032 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3355, allocations: 43.91 kB / 1.032 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3359, allocations: 269 kB / 1.033 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3361, allocations: 42.5 kB / 1.033 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.3362, allocations: 32.89 kB / 1.033 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/0.3367, allocations: 445.5 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3367, allocations: 30.56 kB / 1.033 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.3367, allocations: 0 / 1.033 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.3371, allocations: 105.6 kB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3371, allocations: 55.34 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.3372, allocations: 109.9 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.3372, allocations: 25.7 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3373, allocations: 84.14 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.3373, allocations: 7.906 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.3373, allocations: 0 / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.3374, allocations: 310.8 kB / 1.034 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.3375, allocations: 27.98 kB / 1.034 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.3375, allocations: 19.97 kB / 1.034 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3377, allocations: 56.83 kB / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3377, allocations: 0 / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.3379, allocations: 77.59 kB / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3379, allocations: 8 kB / 1.034 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3379, allocations: 0 / 1.034 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3379, allocations: 4.031 kB / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.338, allocations: 15.98 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3381, allocations: 0 / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.3381, allocations: 8 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.3381, allocations: 0 / 1.034 GB, free: 7.641 MB / 0.6823 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 7.25e-05/0.3382, allocations: 109.8 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3382, allocations: 11.89 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.3385, allocations: 84.72 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3385, allocations: 4 kB / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3385, allocations: 0 / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3385, allocations: 0 / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3387, allocations: 157.6 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3387, allocations: 4.031 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.3387, allocations: 11.98 kB / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3387, allocations: 0 / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3388, allocations: 0 / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3388, allocations: 0 / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3388, allocations: 4 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.339, allocations: 179.4 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.3391, allocations: 77.11 kB / 1.035 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3391, allocations: 3.984 kB / 1.035 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3392, allocations: 8 kB / 1.035 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.3392, allocations: 4.031 kB / 1.035 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3392, allocations: 7.922 kB / 1.035 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.3392, allocations: 83.28 kB / 1.035 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3392, allocations: 0 / 1.035 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002362/0.3395, allocations: 27.94 kB / 1.035 GB, free: 6.777 MB / 0.6823 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.0002373/0.3397, allocations: 127.2 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.3399, allocations: 51.89 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3399, allocations: 0 / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.34, allocations: 28.05 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3403, allocations: 14.28 kB / 1.035 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.3406, allocations: 108.6 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3408, allocations: 0.677 MB / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.3408, allocations: 8.062 kB / 1.036 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.3409, allocations: 7.438 kB / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.3409, allocations: 0 / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of Templates: time 0.002473/0.3433, allocations: 0.571 MB / 1.036 GB, free: 5.133 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)