Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 187.6 kB / 16.62 MB, free: 6.582 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.106/1.106, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.459/1.459, allocations: 292.3 MB / 0.5489 GB, free: 12.76 MB / 462.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.001231/0.001231, allocations: 72.8 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00153/0.1617, allocations: 0.5781 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.162, allocations: 191.3 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-06/0.162, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.406e-06/0.1621, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.637e-06/0.1621, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1624, allocations: 51.84 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.864e-05/0.1624, allocations: 3.938 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.1624, allocations: 7.984 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-06/0.1624, allocations: 3.938 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.474e-05/0.1625, allocations: 3.984 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.769e-06/0.1625, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1626, allocations: 51.95 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-06/0.1626, allocations: 7.938 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.124e-05/0.1626, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.1627, allocations: 35.94 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1627, allocations: 4 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1627, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.1627, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 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.0002176/0.163, allocations: 319.6 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.163, allocations: 12.03 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.163, allocations: 0.9375 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/0.1631, allocations: 160.4 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1631, allocations: 384 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-06/0.1631, allocations: 384 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.237e-05/0.1632, allocations: 34.27 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.1632, allocations: 192 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1632, allocations: 7.922 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.1632, allocations: 3.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.1632, allocations: 3.938 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1633, allocations: 149.7 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.486e-05/0.1634, allocations: 14.58 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.1634, allocations: 8.859 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005518/0.1639, allocations: 461.5 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.164, allocations: 30.56 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.164, allocations: 0 / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.42e-05/0.1641, allocations: 37.58 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1641, allocations: 59.53 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.494e-05/0.1641, allocations: 89.86 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.1642, allocations: 25.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.1642, allocations: 80.14 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.1642, allocations: 11.89 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.1642, allocations: 9.719 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.1643, allocations: 314.8 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-06/0.1643, allocations: 0 / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-06/0.1643, allocations: 4 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.949e-05/0.1644, allocations: 8.859 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1644, allocations: 0 / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.194e-05/0.1644, allocations: 37.64 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.1644, allocations: 4 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1644, allocations: 7.984 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.1645, allocations: 7.875 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.1645, allocations: 0 / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-06/0.1645, allocations: 0 / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-06/0.1645, allocations: 4.094 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.1645, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 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 4.828e-05/0.1646, allocations: 110.5 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.1646, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.1646, allocations: 44.69 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1647, allocations: 3.984 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.1647, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.1647, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.802e-05/0.1647, allocations: 153.7 kB / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1647, allocations: 0 / 0.7872 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.1648, allocations: 3.938 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1648, allocations: 0 / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.1648, allocations: 3.938 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1648, allocations: 3.984 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1648, allocations: 4 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.566e-05/0.1648, allocations: 53.14 kB / 0.7872 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.1649, allocations: 81.14 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-06/0.1649, allocations: 3.938 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-06/0.1649, allocations: 0 / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.1649, allocations: 15.92 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.1649, allocations: 0 / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.1649, allocations: 75.28 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1649, allocations: 0 / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001736/0.1651, allocations: 16 kB / 0.7874 GB, free: 8.941 MB / 0.6075 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.000145/0.1653, allocations: 115.2 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.042e-05/0.1653, allocations: 4 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1653, allocations: 0 / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.1653, allocations: 4 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.1655, allocations: 3.938 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001174/0.1656, allocations: 89.06 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.1658, allocations: 0.6768 MB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.574e-06/0.1658, allocations: 3.938 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-06/0.1658, allocations: 7.438 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1658, allocations: 0 / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.001651/0.1674, allocations: 409.5 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)