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.624/1.624, allocations: 252 MB / 267.6 MB, free: 10.92 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.001073/0.001073, allocations: 174.6 kB / 327.3 MB, free: 2.176 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.656/1.656, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0008322/0.0008321, allocations: 99.53 kB / 0.6829 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003366, allocations: 12.94 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 106.3 MB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002254/0.2665, allocations: 1.157 MB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.2673, allocations: 236.3 kB / 0.9022 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.2673, allocations: 4 kB / 0.9022 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.2674, allocations: 3.984 kB / 0.9022 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.2674, allocations: 0 / 0.9022 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.2679, allocations: 43.89 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.268, allocations: 23.92 kB / 0.9023 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2681, allocations: 4 kB / 0.9023 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.2682, allocations: 11.86 kB / 0.9023 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.2682, allocations: 12 kB / 0.9023 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2683, allocations: 0 / 0.9023 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.2685, allocations: 67.86 kB / 0.9023 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.2685, allocations: 4 kB / 0.9023 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.2686, allocations: 29.64 kB / 0.9024 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.2687, allocations: 35.94 kB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2687, allocations: 0 / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2687, allocations: 0 / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2688, allocations: 0 / 0.9024 GB, free: 62.57 MB / 0.6042 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.0005148/0.2693, allocations: 343.3 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2693, allocations: 8.031 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.2694, allocations: 4 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2695, allocations: 167.2 kB / 0.9029 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2695, allocations: 4 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2696, allocations: 0 / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.2698, allocations: 61.67 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2698, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2699, allocations: 4 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2699, allocations: 0 / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.2702, allocations: 51.83 kB / 0.903 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.2705, allocations: 256.8 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.2708, allocations: 42.55 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.2709, allocations: 28.91 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000848/0.2718, allocations: 461.4 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2718, allocations: 34.56 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.2718, allocations: 0 / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005805/0.2724, allocations: 101.6 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.2725, allocations: 51.53 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.2726, allocations: 101.9 kB / 0.9041 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2726, allocations: 29.7 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.2726, allocations: 80.14 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2727, allocations: 7.891 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2727, allocations: 0 / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.2728, allocations: 322.7 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2729, allocations: 23.98 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2731, allocations: 19.98 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2732, allocations: 23.97 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2732, allocations: 0 / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003293/0.2736, allocations: 77.67 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2736, allocations: 4 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2736, allocations: 4 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2737, allocations: 0 / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2738, allocations: 11.98 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2738, allocations: 4.031 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.2739, allocations: 11.98 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.274, allocations: 4 kB / 0.9046 GB, free: 59.96 MB / 0.6042 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.192e-05/0.274, allocations: 109.8 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.2741, allocations: 3.906 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.2744, allocations: 88.72 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2745, allocations: 0 / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2745, allocations: 0 / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2745, allocations: 4 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2747, allocations: 161.6 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2747, allocations: 0 / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2748, allocations: 16.02 kB / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2748, allocations: 0 / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2748, allocations: 0 / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2749, allocations: 0 / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2749, allocations: 0 / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.2752, allocations: 175.5 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.2753, allocations: 81.11 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2753, allocations: 3.938 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2754, allocations: 11.98 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.2755, allocations: 3.938 kB / 0.9053 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2755, allocations: 4 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.2756, allocations: 83.31 kB / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2756, allocations: 0 / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004048/0.276, allocations: 19.98 kB / 0.9054 GB, free: 59.11 MB / 0.6042 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.0002532/0.2762, allocations: 115.2 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.2766, allocations: 51.95 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2767, allocations: 0 / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.2768, allocations: 19.98 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.2772, allocations: 12.08 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.2775, allocations: 134.2 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2777, allocations: 0.6809 MB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.2777, allocations: 11.44 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2777, allocations: 0 / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.002987/0.2807, allocations: 0.756 MB / 0.9071 GB, free: 57.27 MB / 0.6042 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)