Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.031/2.031, 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.001252/0.001252, allocations: 201 kB / 499.1 MB, free: 4.617 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.298/1.298, allocations: 222.9 MB / 0.7948 GB, free: 15.75 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.0009299/0.0009298, allocations: 116.4 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 54.84 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2112, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001636/0.2129, allocations: 0.6514 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.2135, allocations: 303 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-06/0.2135, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.2135, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.2136, allocations: 4 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.2139, allocations: 79.48 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 2.984e-05/0.214, allocations: 4 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.214, allocations: 0 / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.214, allocations: 0 / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.214, allocations: 3.938 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-06/0.2141, allocations: 4 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2143, allocations: 131.7 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.2143, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.2143, allocations: 4 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.2144, allocations: 71.83 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2144, allocations: 4 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2145, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.2145, allocations: 0 / 1.219 GB, free: 116 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.0002262/0.2147, allocations: 324.8 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2147, allocations: 15.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.2148, allocations: 0.9375 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.788e-05/0.2148, allocations: 160.4 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.2148, allocations: 384 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.2148, allocations: 384 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.2149, allocations: 42.2 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2149, allocations: 192 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.2149, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2149, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.215, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.313e-05/0.2151, allocations: 145.7 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.823e-05/0.2151, allocations: 18.61 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.2151, allocations: 8.859 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.2157, allocations: 461.5 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2157, allocations: 38.5 kB / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2157, allocations: 0 / 1.22 GB, free: 114.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001/0.2158, allocations: 41.64 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.2158, allocations: 51.41 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.374e-05/0.2159, allocations: 89.86 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-06/0.2159, allocations: 25.7 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.2159, allocations: 84.08 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.2159, allocations: 7.906 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.2159, allocations: 13.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.526e-05/0.216, allocations: 310.8 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.216, allocations: 8.125 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.216, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.216, allocations: 12.8 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.216, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.847e-05/0.2161, allocations: 33.7 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2161, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2161, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2161, allocations: 3.938 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.2162, allocations: 7.984 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2162, allocations: 4.094 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.2162, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.2162, allocations: 0 / 1.221 GB, free: 113.8 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.593e-05/0.2162, allocations: 106.5 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.2162, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.2163, allocations: 52.69 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2163, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2163, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2163, allocations: 4.031 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.167e-05/0.2164, allocations: 141.7 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2164, allocations: 0 / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.2164, allocations: 4 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2164, allocations: 0 / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.2164, allocations: 3.938 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2164, allocations: 0 / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2164, allocations: 0 / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.2166, allocations: 0.62 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.2166, allocations: 77.11 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.2166, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.2166, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.2166, allocations: 3.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.2166, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.01e-05/0.2166, allocations: 75.28 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2166, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002963/0.2169, allocations: 36.02 kB / 1.222 GB, free: 112.5 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.0002071/0.2172, allocations: 135.2 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.777e-05/0.2172, allocations: 8 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2172, allocations: 0 / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.2172, allocations: 4 kB / 1.222 GB, free: 112.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.2173, allocations: 11.88 kB / 1.222 GB, free: 112.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001556/0.2175, allocations: 173.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.5e-05/0.2176, allocations: 0.6692 MB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.082e-05/0.2176, allocations: 4 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.2176, allocations: 11.44 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/0.2176, allocations: 3.938 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of Templates: time 0.002051/0.2197, allocations: 0.63 MB / 1.224 GB, free: 110.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)