Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 197.8 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.7 MB / 0.5092 GB, free: 3.117 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.91 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001499/0.3729, allocations: 0.5748 MB / 0.7251 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.3733, allocations: 199.3 kB / 0.7253 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.3733, allocations: 0 / 0.7253 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.467e-06/0.3734, allocations: 0 / 0.7253 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.3734, allocations: 0 / 0.7253 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3737, allocations: 51.84 kB / 0.7253 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.471e-05/0.3738, allocations: 7.984 kB / 0.7253 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.3738, allocations: 7.984 kB / 0.7253 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.3738, allocations: 4 kB / 0.7253 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.3738, allocations: 0 / 0.7253 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.3739, allocations: 0 / 0.7253 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.374, allocations: 55.89 kB / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.374, allocations: 0 / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.374, allocations: 3.938 kB / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.3741, allocations: 39.94 kB / 0.7254 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3742, allocations: 0 / 0.7254 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3742, allocations: 0 / 0.7254 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.3742, allocations: 4 kB / 0.7254 GB, free: 12 MB / 0.545 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.0002571/0.3744, allocations: 323.5 kB / 0.7258 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3745, allocations: 8.031 kB / 0.7258 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.3745, allocations: 0.9375 kB / 0.7258 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.3746, allocations: 171.2 kB / 0.7259 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3746, allocations: 384 / 0.7259 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.3746, allocations: 384 / 0.7259 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.3747, allocations: 34.25 kB / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.3747, allocations: 192 / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3747, allocations: 7.938 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3747, allocations: 0 / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.3748, allocations: 4 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.3749, allocations: 145.7 kB / 0.7261 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/0.3749, allocations: 22.52 kB / 0.7261 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.3749, allocations: 12.95 kB / 0.7261 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.3756, allocations: 457.5 kB / 0.7266 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3756, allocations: 30.56 kB / 0.7266 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3756, allocations: 0 / 0.7266 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001004/0.3757, allocations: 41.62 kB / 0.7266 GB, free: 10.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.3757, allocations: 55.41 kB / 0.7267 GB, free: 10.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.688e-05/0.3758, allocations: 101.9 kB / 0.7268 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.3758, allocations: 25.7 kB / 0.7268 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.3758, allocations: 80.14 kB / 0.7269 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3758, allocations: 0 / 0.7269 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.3758, allocations: 9.719 kB / 0.7269 GB, free: 10.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.3759, allocations: 322.8 kB / 0.7272 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.376, allocations: 0 / 0.7272 GB, free: 9.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.376, allocations: 3.984 kB / 0.7272 GB, free: 9.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.112e-05/0.376, allocations: 12.92 kB / 0.7272 GB, free: 9.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.376, allocations: 0 / 0.7272 GB, free: 9.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.146e-05/0.376, allocations: 29.7 kB / 0.7273 GB, free: 9.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.3761, allocations: 4 kB / 0.7273 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3761, allocations: 3.984 kB / 0.7273 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3761, allocations: 7.938 kB / 0.7273 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.898e-05/0.3761, allocations: 3.938 kB / 0.7273 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3761, allocations: 0 / 0.7273 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-06/0.3761, allocations: 0 / 0.7273 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3761, allocations: 4.031 kB / 0.7273 GB, free: 9.797 MB / 0.545 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 5.221e-05/0.3762, allocations: 117.8 kB / 0.7274 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-06/0.3762, allocations: 0 / 0.7274 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.3763, allocations: 36.77 kB / 0.7274 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3763, allocations: 0 / 0.7274 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3763, allocations: 0 / 0.7274 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3763, allocations: 0 / 0.7274 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.836e-05/0.3764, allocations: 149.7 kB / 0.7276 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3764, allocations: 0 / 0.7276 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-06/0.3764, allocations: 4.031 kB / 0.7276 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3764, allocations: 0 / 0.7276 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.3764, allocations: 3.938 kB / 0.7276 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3764, allocations: 3.938 kB / 0.7276 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3764, allocations: 0 / 0.7276 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.165e-05/0.3765, allocations: 61.12 kB / 0.7276 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3765, allocations: 79.08 kB / 0.7277 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.3765, allocations: 7.969 kB / 0.7277 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-06/0.3765, allocations: 4 kB / 0.7277 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.3765, allocations: 4 kB / 0.7277 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.3765, allocations: 0 / 0.7277 GB, free: 9.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.405e-05/0.3766, allocations: 75.28 kB / 0.7278 GB, free: 9.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 0 / 0.7278 GB, free: 9.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001758/0.3768, allocations: 16 kB / 0.7278 GB, free: 9.145 MB / 0.545 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.0001841/0.3769, allocations: 127.2 kB / 0.7279 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.377, allocations: 7.938 kB / 0.7279 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.377, allocations: 3.938 kB / 0.728 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.377, allocations: 4 kB / 0.728 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.3772, allocations: 3.984 kB / 0.728 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.3773, allocations: 84.84 kB / 0.728 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.3775, allocations: 0.6769 MB / 0.7287 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.699e-06/0.3775, allocations: 0 / 0.7287 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.3776, allocations: 11.44 kB / 0.7287 GB, free: 8.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3776, allocations: 0 / 0.7287 GB, free: 8.164 MB / 0.545 GB Notification: Performance of Templates: time 0.002282/0.3798, allocations: 408.4 kB / 0.7291 GB, free: 7.766 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)