Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.673/3.673, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.0023/0.0023, allocations: 174 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.989/3.989, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.001496/0.001496, allocations: 85.61 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007894/0.0007896, allocations: 17.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3486, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.7306, allocations: 131.7 MB / 1.028 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004691/0.7311, allocations: 79.95 kB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01196/0.7431, allocations: 1.575 MB / 1.03 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.306e-06/0.7432, allocations: 4 kB / 1.03 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.7432, allocations: 0 / 1.03 GB, free: 12.01 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.0008811/0.7441, allocations: 363.4 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.7442, allocations: 8.031 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.7443, allocations: 0.9375 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.7446, allocations: 176.3 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.7447, allocations: 384 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.7447, allocations: 4.375 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.7451, allocations: 54.23 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7452, allocations: 192 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.7452, allocations: 3.938 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.7452, allocations: 4 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.7457, allocations: 51.89 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.7466, allocations: 260.8 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.747, allocations: 50.53 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.7473, allocations: 28.91 kB / 1.031 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.7488, allocations: 441.5 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.341e-05/0.749, allocations: 36.12 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.088e-05/0.749, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0009752/0.75, allocations: 101.6 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.7501, allocations: 51.41 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.7502, allocations: 101.8 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.7503, allocations: 29.7 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.7504, allocations: 80.14 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.7505, allocations: 7.906 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.7505, allocations: 4.125 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.7507, allocations: 314.8 kB / 1.032 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.751, allocations: 19.98 kB / 1.032 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.7512, allocations: 19.98 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.7515, allocations: 24.05 kB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7515, allocations: 3.938 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006132/0.7521, allocations: 89.72 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.7522, allocations: 4 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7522, allocations: 0 / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.7523, allocations: 4 kB / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.7525, allocations: 15.97 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.7525, allocations: 0 / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.7527, allocations: 7.984 kB / 1.032 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.7528, allocations: 4 kB / 1.032 GB, free: 9.383 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 0.0001737/0.753, allocations: 114.9 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.7531, allocations: 0 / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.7537, allocations: 88.72 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7538, allocations: 0 / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.7538, allocations: 4.031 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.7538, allocations: 4 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.7543, allocations: 165.5 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7543, allocations: 0 / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.7545, allocations: 11.94 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7545, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7546, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.7546, allocations: 3.984 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7546, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.7553, allocations: 175.5 kB / 1.033 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.7554, allocations: 85.03 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.7555, allocations: 0 / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.7558, allocations: 12.03 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.7558, allocations: 3.984 kB / 1.033 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.7559, allocations: 0 / 1.033 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.225e-05/0.756, allocations: 83.28 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.52e-07/0.756, allocations: 0 / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009152/0.7569, allocations: 27.94 kB / 1.033 GB, free: 8.52 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.0005796/0.7575, allocations: 139.1 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.7582, allocations: 47.97 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7582, allocations: 0 / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.7585, allocations: 23.98 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.7592, allocations: 4.5 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.7598, allocations: 116.8 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.7603, allocations: 0.677 MB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.7604, allocations: 0 / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.7605, allocations: 7.438 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/0.7605, allocations: 0 / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of Templates: time 0.006308/0.7668, allocations: 0.5672 MB / 1.034 GB, free: 6.883 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)