Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4845/0.4845, allocations: 87.49 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 110.2 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 56.06 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.368, allocations: 70.07 MB / 0.5575 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001711/0.3698, allocations: 0.6333 MB / 0.5581 GB, free: 44.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.3703, allocations: 199.3 kB / 0.5583 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-06/0.3703, allocations: 0 / 0.5583 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.3703, allocations: 2.062 kB / 0.5583 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.097e-06/0.3703, allocations: 0 / 0.5583 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3706, allocations: 40.08 kB / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.283e-05/0.3706, allocations: 5.375 kB / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.3707, allocations: 1.406 kB / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.179e-05/0.3707, allocations: 3.281 kB / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.3707, allocations: 0 / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.3707, allocations: 1.344 kB / 0.5584 GB, free: 44.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.3709, allocations: 64.09 kB / 0.5584 GB, free: 44.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.3709, allocations: 5.297 kB / 0.5584 GB, free: 44.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.3709, allocations: 0 / 0.5584 GB, free: 44.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.371, allocations: 36.92 kB / 0.5585 GB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.371, allocations: 0 / 0.5585 GB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.371, allocations: 0 / 0.5585 GB, free: 44.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.3711, allocations: 0.7812 kB / 0.5585 GB, free: 44.07 MB / 410.7 MB 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.0002238/0.3713, allocations: 321.7 kB / 0.5588 GB, free: 43.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3713, allocations: 8.594 kB / 0.5588 GB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3714, allocations: 1.969 kB / 0.5588 GB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.182e-05/0.3714, allocations: 168.3 kB / 0.5589 GB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3714, allocations: 1.375 kB / 0.5589 GB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.3715, allocations: 384 / 0.5589 GB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/0.3715, allocations: 28.48 kB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3715, allocations: 192 / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3716, allocations: 8.938 kB / 0.559 GB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3716, allocations: 0 / 0.559 GB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.721e-05/0.3716, allocations: 1.062 kB / 0.559 GB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.3717, allocations: 150.9 kB / 0.5591 GB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.3717, allocations: 20.73 kB / 0.5591 GB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.3718, allocations: 5.922 kB / 0.5592 GB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.3724, allocations: 451.3 kB / 0.5596 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.3724, allocations: 35.59 kB / 0.5596 GB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3724, allocations: 4.969 kB / 0.5596 GB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.3725, allocations: 38.03 kB / 0.5597 GB, free: 42.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.3726, allocations: 52.62 kB / 0.5597 GB, free: 42.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.584e-05/0.3726, allocations: 93.92 kB / 0.5598 GB, free: 42.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.3726, allocations: 29.7 kB / 0.5598 GB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.3726, allocations: 84.12 kB / 0.5599 GB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3727, allocations: 4.906 kB / 0.5599 GB, free: 42.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.3727, allocations: 12.06 kB / 0.5599 GB, free: 42.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.3727, allocations: 314.8 kB / 0.5602 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.3727, allocations: 1 kB / 0.5602 GB, free: 42.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.3727, allocations: 1 kB / 0.5602 GB, free: 42.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.3728, allocations: 16.25 kB / 0.5602 GB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3728, allocations: 0 / 0.5602 GB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.148e-05/0.3728, allocations: 31.2 kB / 0.5603 GB, free: 41.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3729, allocations: 4.438 kB / 0.5603 GB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3729, allocations: 3.938 kB / 0.5603 GB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3729, allocations: 5.094 kB / 0.5603 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.3729, allocations: 5 kB / 0.5603 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3729, allocations: 1.094 kB / 0.5603 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-06/0.3729, allocations: 0 / 0.5603 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.373, allocations: 1.219 kB / 0.5603 GB, free: 41.98 MB / 410.7 MB 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.451e-05/0.373, allocations: 119 kB / 0.5604 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.373, allocations: 0 / 0.5604 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.3731, allocations: 37.39 kB / 0.5604 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3731, allocations: 1.188 kB / 0.5604 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3731, allocations: 0 / 0.5604 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3731, allocations: 4 kB / 0.5604 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.908e-05/0.3732, allocations: 146.7 kB / 0.5606 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3732, allocations: 1.031 kB / 0.5606 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.3732, allocations: 5.094 kB / 0.5606 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3732, allocations: 1.25 kB / 0.5606 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3732, allocations: 3.938 kB / 0.5606 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3732, allocations: 3.938 kB / 0.5606 GB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3732, allocations: 1.094 kB / 0.5606 GB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.3734, allocations: 0.6024 MB / 0.5612 GB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.3734, allocations: 85.12 kB / 0.5613 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.3734, allocations: 5.672 kB / 0.5613 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.3734, allocations: 0 / 0.5613 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-06/0.3734, allocations: 0 / 0.5613 GB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3734, allocations: 1.125 kB / 0.5613 GB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.276e-05/0.3735, allocations: 75.28 kB / 0.5613 GB, free: 40.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3735, allocations: 0 / 0.5613 GB, free: 40.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00031/0.3738, allocations: 19.66 kB / 0.5614 GB, free: 40.77 MB / 410.7 MB 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.0002095/0.374, allocations: 116.4 kB / 0.5615 GB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.3741, allocations: 4.188 kB / 0.5615 GB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3741, allocations: 4 kB / 0.5615 GB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-06/0.3741, allocations: 8 kB / 0.5615 GB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.3742, allocations: 5.766 kB / 0.5615 GB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.3744, allocations: 190.8 kB / 0.5617 GB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3746, allocations: 0.6692 MB / 0.5623 GB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.3746, allocations: 0 / 0.5623 GB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-06/0.3746, allocations: 7.438 kB / 0.5623 GB, free: 39.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3746, allocations: 0 / 0.5623 GB, free: 39.73 MB / 410.7 MB Notification: Performance of Templates: time 0.002133/0.3767, allocations: 400.8 kB / 0.5627 GB, free: 39.34 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)