Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005223/0.005223, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.235/1.235, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.383/1.383, allocations: 251.7 MB / 0.5094 GB, free: 2.988 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.001424/0.001424, allocations: 75.89 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.192, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002445/0.1945, allocations: 1.423 MB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005843/0.1951, allocations: 256.4 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1951, allocations: 4 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1952, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.1952, allocations: 3.938 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.1956, allocations: 59.83 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.824e-05/0.1956, allocations: 23.86 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.1957, allocations: 19.91 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.1958, allocations: 4 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/0.1958, allocations: 11.92 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1959, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.196, allocations: 59.95 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.196, allocations: 7.984 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.196, allocations: 7.938 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1962, allocations: 55.86 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1962, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1962, allocations: 3.938 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1962, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004695/0.1967, allocations: 347.4 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1967, allocations: 8.031 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1968, allocations: 8.938 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1969, allocations: 164.3 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1969, allocations: 384 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1969, allocations: 4.375 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1971, allocations: 50.22 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1971, allocations: 192 / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1971, allocations: 7.938 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1972, allocations: 0 / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1973, allocations: 39.89 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.1976, allocations: 241 kB / 0.8308 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1978, allocations: 38.5 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.1978, allocations: 28.89 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.1985, allocations: 461.5 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1985, allocations: 38.55 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.1986, allocations: 4 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003132/0.1989, allocations: 77.59 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1989, allocations: 55.39 kB / 0.8314 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.199, allocations: 101.9 kB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.199, allocations: 25.7 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.1991, allocations: 80.14 kB / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1991, allocations: 11.84 kB / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.1991, allocations: 17.7 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1992, allocations: 315 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.1993, allocations: 15.98 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.1994, allocations: 15.98 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1995, allocations: 40.75 kB / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1995, allocations: 4 kB / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001635/0.1997, allocations: 73.58 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1997, allocations: 7.984 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1997, allocations: 7.938 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1998, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1998, allocations: 7.938 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1999, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.1999, allocations: 7.984 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1999, allocations: 0 / 0.8321 GB, free: 11.67 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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 6.437e-05/0.2, allocations: 117.8 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.2, allocations: 0 / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.2002, allocations: 84.7 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2002, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2002, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2002, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2004, allocations: 157.6 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2004, allocations: 4.031 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.2005, allocations: 11.98 kB / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2005, allocations: 0 / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2005, allocations: 0 / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2005, allocations: 0 / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2005, allocations: 0 / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.2007, allocations: 171.4 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.2007, allocations: 77.11 kB / 0.8327 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2008, allocations: 0 / 0.8327 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.2008, allocations: 7.984 kB / 0.8327 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.2009, allocations: 4 kB / 0.8327 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2009, allocations: 0 / 0.8327 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.2009, allocations: 87.45 kB / 0.8328 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2009, allocations: 0 / 0.8328 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002467/0.2012, allocations: 12 kB / 0.8328 GB, free: 10.85 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.0002017/0.2014, allocations: 115.4 kB / 0.8329 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.2016, allocations: 39.95 kB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2016, allocations: 0 / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.2017, allocations: 27.98 kB / 0.833 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.2019, allocations: 10.89 kB / 0.833 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.2022, allocations: 105.5 kB / 0.8331 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2024, allocations: 0.6805 MB / 0.8338 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.2024, allocations: 0 / 0.8338 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.2025, allocations: 7.438 kB / 0.8338 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2025, allocations: 8 kB / 0.8338 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of Templates: time 0.002507/0.205, allocations: 0.6659 MB / 0.8345 GB, free: 9.137 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)