Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 75.75 kB / 21.74 MB, free: 2.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 168.6 kB / 25.17 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 177.2 MB / 205.6 MB, free: 5.363 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.84/1.84, allocations: 389.6 MB / 0.6364 GB, free: 12.22 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.7756 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.383e-05, allocations: 7.797 kB / 0.7756 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001396/0.001419, allocations: 0.6582 MB / 0.7762 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.001769, allocations: 170.7 kB / 0.7764 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.001783, allocations: 0.6562 kB / 0.7764 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.001796, allocations: 0 / 0.7764 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.001801, allocations: 0 / 0.7764 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.002087, allocations: 48.69 kB / 0.7764 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.372e-05/0.002121, allocations: 3.938 kB / 0.7764 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.155e-05/0.002152, allocations: 0.875 kB / 0.7765 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.499e-05/0.002177, allocations: 4 kB / 0.7765 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.812e-05/0.002195, allocations: 3.719 kB / 0.7765 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.002203, allocations: 0 / 0.7765 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.002364, allocations: 65.89 kB / 0.7765 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.002374, allocations: 0 / 0.7765 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-06/0.002383, allocations: 0 / 0.7765 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.578e-05/0.002479, allocations: 47.86 kB / 0.7766 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.00248, allocations: 3.938 kB / 0.7766 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.21e-07/0.002481, allocations: 4.766 kB / 0.7766 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002485, allocations: 0 / 0.7766 GB, free: 4.914 MB / 0.7292 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.0001771/0.002662, allocations: 208.7 kB / 0.7768 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.002694, allocations: 14.12 kB / 0.7768 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.002714, allocations: 4.922 kB / 0.7768 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.851e-05/0.002762, allocations: 102.5 kB / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.00277, allocations: 1.469 kB / 0.7769 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.002777, allocations: 5.75 kB / 0.7769 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.147e-05/0.002828, allocations: 26.27 kB / 0.7769 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.002834, allocations: 192 / 0.7769 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.00284, allocations: 1.469 kB / 0.7769 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.002843, allocations: 384 / 0.7769 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.034e-05/0.002854, allocations: 7.938 kB / 0.7769 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.053e-05/0.002914, allocations: 61.7 kB / 0.777 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.05e-05/0.002945, allocations: 22.59 kB / 0.777 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.002e-05/0.002955, allocations: 5.453 kB / 0.777 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.003236, allocations: 66.94 kB / 0.7771 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.003257, allocations: 34.56 kB / 0.7771 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.003258, allocations: 0.8125 kB / 0.7771 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.703e-05/0.003335, allocations: 43.03 kB / 0.7772 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.003359, allocations: 51.41 kB / 0.7772 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.403e-05/0.003383, allocations: 93.86 kB / 0.7773 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.003392, allocations: 26.69 kB / 0.7773 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.00341, allocations: 84.66 kB / 0.7774 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.003435, allocations: 5 kB / 0.7774 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.003457, allocations: 9.719 kB / 0.7774 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.003522, allocations: 314.8 kB / 0.7777 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.003532, allocations: 5.719 kB / 0.7777 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.003537, allocations: 0 / 0.7777 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.878e-05/0.003556, allocations: 4.859 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003558, allocations: 4.625 kB / 0.7777 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.358e-05/0.003592, allocations: 38.5 kB / 0.7778 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.003601, allocations: 5.594 kB / 0.7778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.003605, allocations: 0 / 0.7778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.003611, allocations: 0 / 0.7778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.776e-05/0.003638, allocations: 4 kB / 0.7778 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.003641, allocations: 4.734 kB / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-06/0.003648, allocations: 0 / 0.7778 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.003653, allocations: 0.9688 kB / 0.7778 GB, free: 3.547 MB / 0.7292 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 4.666e-05/0.003699, allocations: 110.3 kB / 0.7779 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.003703, allocations: 5.094 kB / 0.7779 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.003749, allocations: 37.03 kB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.00375, allocations: 0.9062 kB / 0.7779 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.003751, allocations: 4 kB / 0.7779 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.003754, allocations: 5.031 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.136e-05/0.003795, allocations: 63.19 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.003796, allocations: 0 / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.003805, allocations: 11.98 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.003806, allocations: 1.125 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-06/0.003809, allocations: 0 / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-07/0.00381, allocations: 0 / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.00381, allocations: 1.062 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.872e-05/0.003849, allocations: 57.08 kB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-06/0.003853, allocations: 3.953 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-06/0.003859, allocations: 5.469 kB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-06/0.003862, allocations: 0.8125 kB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.003872, allocations: 3.984 kB / 0.7781 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.003875, allocations: 4.625 kB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.501e-06/0.00388, allocations: 4.859 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00388, allocations: 0.5312 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001079/0.003988, allocations: 12.5 kB / 0.7781 GB, free: 3.176 MB / 0.7292 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.0001266/0.004115, allocations: 114.8 kB / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.191e-05/0.004157, allocations: 9.406 kB / 0.7782 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.004158, allocations: 3.219 kB / 0.7782 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.004164, allocations: 4.859 kB / 0.7782 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.391e-05/0.004207, allocations: 11.92 kB / 0.7782 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001397/0.004347, allocations: 92.19 kB / 0.7783 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.004379, allocations: 56.23 kB / 0.7784 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.004405, allocations: 47.38 kB / 0.7784 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.004405, allocations: 0 / 0.7784 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of Templates: time 0.001193/0.005598, allocations: 0.5595 MB / 0.779 GB, free: 2.238 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0 > Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.65180379152298]