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.001268/0.001268, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001247/0.001247, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.47/1.47, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.716/1.716, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001405/0.001405, allocations: 65.34 kB / 0.6717 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2632, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001773/0.265, allocations: 0.6501 MB / 0.7842 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004056/0.2654, allocations: 187.4 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-06/0.2654, allocations: 0 / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2655, allocations: 0 / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.2655, allocations: 0 / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2658, allocations: 43.89 kB / 0.7844 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.969e-05/0.2659, allocations: 7.938 kB / 0.7844 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.912e-05/0.2659, allocations: 7.938 kB / 0.7844 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.046e-05/0.2659, allocations: 0 / 0.7844 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.507e-05/0.2659, allocations: 0 / 0.7844 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.2659, allocations: 0 / 0.7844 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.2661, allocations: 67.88 kB / 0.7845 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.2662, allocations: 3.984 kB / 0.7845 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.2662, allocations: 0 / 0.7845 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.608e-05/0.2663, allocations: 23.97 kB / 0.7845 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2663, allocations: 0 / 0.7845 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2663, allocations: 0 / 0.7845 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2663, allocations: 0 / 0.7845 GB, free: 12.9 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.0002825/0.2666, allocations: 319.6 kB / 0.7848 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2666, allocations: 12.03 kB / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.2666, allocations: 0.9375 kB / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2668, allocations: 160.4 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.2668, allocations: 384 / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.2668, allocations: 384 / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.2669, allocations: 34.2 kB / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2669, allocations: 192 / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2669, allocations: 3.938 kB / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2669, allocations: 4 kB / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.2669, allocations: 4 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.2671, allocations: 145.7 kB / 0.7851 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.318e-05/0.2671, allocations: 22.55 kB / 0.7852 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.2671, allocations: 4.859 kB / 0.7852 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006545/0.2678, allocations: 461.5 kB / 0.7856 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2678, allocations: 38.5 kB / 0.7856 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2678, allocations: 0 / 0.7856 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000115/0.2679, allocations: 33.64 kB / 0.7857 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.268, allocations: 51.41 kB / 0.7857 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.268, allocations: 93.86 kB / 0.7858 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.268, allocations: 33.83 kB / 0.7858 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.2681, allocations: 80.14 kB / 0.7859 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2681, allocations: 3.906 kB / 0.7859 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.2681, allocations: 9.719 kB / 0.7859 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2682, allocations: 314.8 kB / 0.7862 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.2683, allocations: 4 kB / 0.7862 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.2683, allocations: 0 / 0.7862 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.2683, allocations: 16.86 kB / 0.7863 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2683, allocations: 4 kB / 0.7863 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.359e-05/0.2684, allocations: 29.7 kB / 0.7863 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2684, allocations: 4 kB / 0.7863 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2684, allocations: 3.938 kB / 0.7863 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2684, allocations: 3.938 kB / 0.7863 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.2684, allocations: 4 kB / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2684, allocations: 3.984 kB / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.2685, allocations: 0 / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2685, allocations: 0 / 0.7863 GB, free: 10.72 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 6.088e-05/0.2685, allocations: 114.5 kB / 0.7864 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.2685, allocations: 0 / 0.7864 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.039e-05/0.2686, allocations: 44.7 kB / 0.7865 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2686, allocations: 0 / 0.7865 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2686, allocations: 0 / 0.7865 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2686, allocations: 3.984 kB / 0.7865 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.361e-05/0.2687, allocations: 141.7 kB / 0.7866 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2687, allocations: 4 kB / 0.7866 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.2687, allocations: 0 / 0.7866 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2687, allocations: 4.031 kB / 0.7866 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2688, allocations: 3.938 kB / 0.7866 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2688, allocations: 3.938 kB / 0.7866 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2688, allocations: 0 / 0.7866 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.017e-05/0.2688, allocations: 65.06 kB / 0.7867 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.2689, allocations: 77.39 kB / 0.7868 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.2689, allocations: 3.938 kB / 0.7868 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.2689, allocations: 32 / 0.7868 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.2689, allocations: 7.984 kB / 0.7868 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2689, allocations: 8 kB / 0.7868 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.269, allocations: 75.28 kB / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.269, allocations: 0 / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001885/0.2692, allocations: 15.98 kB / 0.7869 GB, free: 10.05 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.0001911/0.2693, allocations: 119.2 kB / 0.787 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.2694, allocations: 4 kB / 0.787 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2694, allocations: 0 / 0.787 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.2694, allocations: 11.92 kB / 0.787 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.2696, allocations: 7.938 kB / 0.787 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00016/0.2697, allocations: 102.6 kB / 0.7871 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.27, allocations: 0.6729 MB / 0.7877 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.27, allocations: 7.562 kB / 0.7878 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.27, allocations: 4 kB / 0.7878 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.001611/0.2716, allocations: 0.5513 MB / 0.7883 GB, free: 8.504 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)