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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001045/0.001045, allocations: 190.5 kB / 16.13 MB, free: 6.652 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.31/1.31, allocations: 205.1 MB / 222 MB, free: 4.75 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.648/1.648, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001309/0.001309, allocations: 72.38 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2313, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.003528/0.2349, allocations: 0.647 MB / 0.7833 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.2357, allocations: 199.4 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.2357, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.2358, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.2358, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2363, allocations: 39.91 kB / 0.7835 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.2364, allocations: 3.938 kB / 0.7835 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.2364, allocations: 0 / 0.7835 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.2365, allocations: 4 kB / 0.7835 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.879e-05/0.2365, allocations: 3.984 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2365, allocations: 0 / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.2368, allocations: 67.88 kB / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.2368, allocations: 0 / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.2368, allocations: 0 / 0.7836 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.237, allocations: 35.94 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.237, allocations: 4 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.237, allocations: 3.938 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.237, allocations: 0 / 0.7837 GB, free: 12.98 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.0003941/0.2375, allocations: 315.6 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.2375, allocations: 8.031 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.2376, allocations: 8.938 kB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2377, allocations: 160.4 kB / 0.7841 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2377, allocations: 384 / 0.7841 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2378, allocations: 4.312 kB / 0.7841 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2379, allocations: 26.27 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2379, allocations: 192 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2379, allocations: 7.938 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2379, allocations: 3.938 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.238, allocations: 4 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.2382, allocations: 153.7 kB / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.244e-05/0.2382, allocations: 18.61 kB / 0.7843 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.2383, allocations: 8.797 kB / 0.7843 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009719/0.2393, allocations: 457.5 kB / 0.7848 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.2393, allocations: 34.56 kB / 0.7848 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.2393, allocations: 0 / 0.7848 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.2395, allocations: 33.64 kB / 0.7848 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2395, allocations: 51.41 kB / 0.7849 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.585e-05/0.2396, allocations: 93.86 kB / 0.785 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2396, allocations: 25.7 kB / 0.785 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.2397, allocations: 80.14 kB / 0.7851 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.2397, allocations: 8.031 kB / 0.7851 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.2398, allocations: 13.72 kB / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2399, allocations: 314.8 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.2399, allocations: 3.938 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.2399, allocations: 4 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.24, allocations: 8.859 kB / 0.7854 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.24, allocations: 0 / 0.7854 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.646e-05/0.2401, allocations: 33.7 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2401, allocations: 8.094 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2401, allocations: 0 / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2401, allocations: 3.938 kB / 0.7855 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.2402, allocations: 4 kB / 0.7855 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2402, allocations: 3.984 kB / 0.7855 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.2402, allocations: 0 / 0.7855 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2402, allocations: 3.938 kB / 0.7855 GB, free: 10.8 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 7.9e-05/0.2403, allocations: 106.5 kB / 0.7856 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.2404, allocations: 4 kB / 0.7856 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.2405, allocations: 44.77 kB / 0.7856 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2405, allocations: 3.938 kB / 0.7856 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2405, allocations: 0 / 0.7856 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2405, allocations: 3.984 kB / 0.7856 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2406, allocations: 141.7 kB / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2406, allocations: 0 / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.2407, allocations: 7.938 kB / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2407, allocations: 0 / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.2407, allocations: 7.938 kB / 0.7858 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2407, allocations: 0 / 0.7858 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2407, allocations: 4.031 kB / 0.7858 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/0.2408, allocations: 65.06 kB / 0.7859 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.2409, allocations: 77.39 kB / 0.7859 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2409, allocations: 3.938 kB / 0.7859 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.2409, allocations: 0 / 0.7859 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.2409, allocations: 0 / 0.7859 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.2409, allocations: 0 / 0.7859 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.241, allocations: 79.31 kB / 0.786 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.241, allocations: 4 kB / 0.786 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003352/0.2413, allocations: 15.98 kB / 0.786 GB, free: 10.14 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.0002588/0.2416, allocations: 111.2 kB / 0.7861 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.2417, allocations: 4 kB / 0.7861 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2417, allocations: 4.062 kB / 0.7861 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.2417, allocations: 7.922 kB / 0.7861 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2419, allocations: 15.17 kB / 0.7862 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.2421, allocations: 70.77 kB / 0.7862 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.2424, allocations: 0.6731 MB / 0.7869 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.2424, allocations: 4 kB / 0.7869 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.2424, allocations: 7.438 kB / 0.7869 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2424, allocations: 0 / 0.7869 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.002958/0.2454, allocations: 413.5 kB / 0.7873 GB, free: 8.781 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)