Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 252 MB / 268 MB, free: 10.86 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.001425/0.001425, allocations: 171.1 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.0008577/0.0008578, allocations: 86.36 kB / 0.6832 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 15.72 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2514, allocations: 106.3 MB / 0.9015 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0008088/0.2522, allocations: 322.3 kB / 0.9018 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005065/0.2528, allocations: 196.7 kB / 0.9019 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.114e-05/0.2528, allocations: 0 / 0.9019 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.2528, allocations: 0 / 0.9019 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.2528, allocations: 0 / 0.9019 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.2532, allocations: 43.89 kB / 0.902 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.526e-05/0.2533, allocations: 7.984 kB / 0.902 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.2533, allocations: 0 / 0.902 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.2534, allocations: 0 / 0.902 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.2534, allocations: 4 kB / 0.902 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.2534, allocations: 0 / 0.902 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.2536, allocations: 59.89 kB / 0.9021 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.2536, allocations: 7.984 kB / 0.9021 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.2537, allocations: 29.64 kB / 0.9021 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.805e-05/0.2538, allocations: 15.97 kB / 0.9021 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2538, allocations: 7.922 kB / 0.9021 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2538, allocations: 0 / 0.9021 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2538, allocations: 0 / 0.9021 GB, free: 63.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002691/0.2541, allocations: 319.6 kB / 0.9024 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2541, allocations: 12.03 kB / 0.9024 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.2542, allocations: 8.844 kB / 0.9024 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.731e-05/0.2542, allocations: 160.4 kB / 0.9026 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2543, allocations: 8.359 kB / 0.9026 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.2543, allocations: 384 / 0.9026 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.2544, allocations: 26.27 kB / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2544, allocations: 4.188 kB / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.2544, allocations: 3.938 kB / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2544, allocations: 0 / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.2545, allocations: 4 kB / 0.9026 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.2546, allocations: 145.7 kB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.2546, allocations: 26.55 kB / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.2546, allocations: 8.844 kB / 0.9028 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.2553, allocations: 457.5 kB / 0.9033 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2554, allocations: 30.56 kB / 0.9033 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2554, allocations: 0 / 0.9033 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.2555, allocations: 41.56 kB / 0.9033 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.2556, allocations: 55.41 kB / 0.9034 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.177e-05/0.2556, allocations: 89.86 kB / 0.9035 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.2556, allocations: 25.7 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.654e-05/0.2556, allocations: 84.27 kB / 0.9036 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2557, allocations: 3.938 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.2557, allocations: 0 / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.2557, allocations: 314.8 kB / 0.9039 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-06/0.2558, allocations: 3.938 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.2558, allocations: 4 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.2558, allocations: 4.859 kB / 0.9039 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2558, allocations: 0 / 0.9039 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.435e-05/0.2559, allocations: 45.69 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2559, allocations: 4 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2559, allocations: 3.984 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2559, allocations: 3.938 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.256, allocations: 4 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.256, allocations: 0 / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.256, allocations: 0 / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2561, allocations: 0 / 0.9039 GB, free: 60.95 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.631e-05/0.2561, allocations: 109.8 kB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.2561, allocations: 4.031 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-05/0.2562, allocations: 44.75 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2562, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2563, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2563, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.304e-05/0.2563, allocations: 145.6 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2563, allocations: 0 / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.2564, allocations: 7.984 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2564, allocations: 0 / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2564, allocations: 3.938 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2564, allocations: 4.031 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2564, allocations: 0 / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.702e-05/0.2564, allocations: 57.14 kB / 0.9043 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.2565, allocations: 77.11 kB / 0.9044 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2565, allocations: 7.922 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.2565, allocations: 4 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.2565, allocations: 0 / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.2565, allocations: 4.031 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.2566, allocations: 75.28 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2566, allocations: 4 kB / 0.9045 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002191/0.2568, allocations: 12 kB / 0.9045 GB, free: 60.29 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.257, allocations: 127.2 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.2571, allocations: 11.94 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2571, allocations: 0 / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.2571, allocations: 0 / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2572, allocations: 7.938 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.2574, allocations: 100.4 kB / 0.9047 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2576, allocations: 0.6731 MB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.2576, allocations: 7.438 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2576, allocations: 0 / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.001849/0.2595, allocations: 0.561 MB / 0.9059 GB, free: 58.74 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)