Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.046/2.046, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 193.3 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009589, allocations: 111.2 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009567/0.0009567, allocations: 52.97 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2242, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001412/0.2257, allocations: 0.649 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0003644/0.2261, allocations: 191.4 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-06/0.2261, allocations: 3.938 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2261, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-06/0.2261, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.2264, allocations: 39.91 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 2.74e-05/0.2264, allocations: 3.984 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.2265, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.119e-05/0.2265, allocations: 3.984 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.566e-05/0.2265, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.2265, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2266, allocations: 59.89 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.2267, allocations: 0 / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.2267, allocations: 8 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.449e-05/0.2268, allocations: 31.94 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2268, allocations: 7.938 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2268, allocations: 0 / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2268, allocations: 3.938 kB / 1.219 GB, free: 116.2 MB / 0.823 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.0002035/0.227, allocations: 319.6 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.227, allocations: 15.98 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.2271, allocations: 0.9375 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.961e-05/0.2271, allocations: 160.4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.2271, allocations: 384 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.2271, allocations: 8.359 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.223e-05/0.2272, allocations: 30.27 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2272, allocations: 192 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.2272, allocations: 3.938 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2273, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.2273, allocations: 0 / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.131e-05/0.2274, allocations: 149.7 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.318e-05/0.2274, allocations: 22.52 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.2274, allocations: 4.859 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.228, allocations: 457.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.228, allocations: 30.56 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.228, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001018/0.2281, allocations: 45.56 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.2281, allocations: 55.41 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.498e-05/0.2281, allocations: 89.86 kB / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.2281, allocations: 25.7 kB / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-06/0.2282, allocations: 80.14 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2282, allocations: 7.906 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.2282, allocations: 9.719 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.2283, allocations: 319 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.2283, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.2283, allocations: 3.938 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.2283, allocations: 8.859 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2283, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.615e-05/0.2283, allocations: 41.62 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.2284, allocations: 5.25 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2284, allocations: 4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.2284, allocations: 7.969 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/0.2284, allocations: 4 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.2284, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-06/0.2284, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.2284, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 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 3.458e-05/0.2285, allocations: 110.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-06/0.2285, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.2286, allocations: 40.75 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2286, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2286, allocations: 4.031 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2286, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.225e-05/0.2286, allocations: 153.7 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2286, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.2286, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2286, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.2287, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.2287, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2287, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.2288, allocations: 0.6006 MB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.2288, allocations: 77.11 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.2288, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-06/0.2288, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.2289, allocations: 7.984 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2289, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.508e-06/0.2289, allocations: 75.28 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2289, allocations: 4.031 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002866/0.2292, allocations: 12 kB / 1.222 GB, free: 112.8 MB / 0.823 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.0001513/0.2293, allocations: 119.3 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.267e-05/0.2294, allocations: 7.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2294, allocations: 4.062 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.2294, allocations: 11.94 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.2295, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/0.2297, allocations: 177.7 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.2297, allocations: 0.6731 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.217e-06/0.2297, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-06/0.2298, allocations: 11.38 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.2298, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of Templates: time 0.001629/0.2314, allocations: 415.9 kB / 1.223 GB, free: 111.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)