Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.BesselJ0.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.941/4.941, allocations: 0.5623 GB / 0.5776 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002652/0.002651, allocations: 361.6 kB / 0.6446 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.419/4.419, allocations: 410.7 MB / 1.113 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001841/0.001841, allocations: 185.4 kB / 1.226 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005067, allocations: 19.61 kB / 1.349 GB, free: 322.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001669/0.2145, allocations: 1.14 MB / 1.462 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000517/0.215, allocations: 234.8 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.2151, allocations: 0 / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.2151, allocations: 3.938 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.2152, allocations: 0.75 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.2155, allocations: 39.84 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.2156, allocations: 21.73 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.2157, allocations: 8 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.2157, allocations: 7.969 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.2158, allocations: 8.812 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.2158, allocations: 0 / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.216, allocations: 64.69 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.216, allocations: 4 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.216, allocations: 30.61 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2161, allocations: 35.86 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2161, allocations: 0 / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2162, allocations: 1.75 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2162, allocations: 0 / 1.463 GB, free: 219.1 MB / 0.8073 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.0004548/0.2166, allocations: 352.9 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2167, allocations: 8.75 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.2167, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.2168, allocations: 171.5 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.2169, allocations: 0.625 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2169, allocations: 4 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2171, allocations: 55.58 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2171, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2172, allocations: 0.625 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2172, allocations: 4.562 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.2175, allocations: 46.95 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.2178, allocations: 250.8 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.218, allocations: 48.3 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2181, allocations: 24.91 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/0.2189, allocations: 456.4 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.219, allocations: 34.56 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.219, allocations: 1 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0005408/0.2195, allocations: 109 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.2196, allocations: 51.41 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.2196, allocations: 98.62 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2197, allocations: 29.7 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.2197, allocations: 84.95 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.2197, allocations: 3.906 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-06/0.2197, allocations: 1.875 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.2198, allocations: 318.8 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.22, allocations: 25.27 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2201, allocations: 19.61 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2203, allocations: 23.98 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2203, allocations: 0 / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003079/0.2206, allocations: 75.38 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2206, allocations: 4.5 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2206, allocations: 4.906 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2207, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2208, allocations: 19.02 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2208, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.2209, allocations: 7.984 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2209, allocations: 7.984 kB / 1.465 GB, free: 216.5 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.221, allocations: 116.4 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.221, allocations: 5.25 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.2214, allocations: 78.41 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2214, allocations: 1.156 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2214, allocations: 0 / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.2215, allocations: 85.05 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2215, allocations: 0.625 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.2216, allocations: 16.91 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.2217, allocations: 4 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004051/0.2221, allocations: 164.4 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003476/0.2224, allocations: 250 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001494/0.2226, allocations: 22.67 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.2226, allocations: 83.28 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of Backend: time 7.91e-07/0.2227, allocations: 3.938 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006497/0.2233, allocations: 125.5 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0003721/0.2237, allocations: 0.5536 MB / 1.467 GB, free: 215 MB / 0.8073 GB Notification: Performance of Templates: time 0.003548/0.2273, allocations: 0.6731 MB / 1.467 GB, free: 214.3 MB / 0.8073 GB