Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001116/0.001116, allocations: 104 kB / 16.36 MB, free: 6.301 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.001026/0.001026, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.632/1.632, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.952/1.952, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001391/0.001391, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2613, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002685/0.264, allocations: 1.444 MB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000538/0.2646, allocations: 248 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.2646, allocations: 0 / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.2647, allocations: 3.938 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.2647, allocations: 11.98 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.2651, allocations: 51.83 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.2651, allocations: 19.94 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2652, allocations: 11.97 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.2653, allocations: 4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.2654, allocations: 15.92 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2654, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.2656, allocations: 63.88 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2656, allocations: 4 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.2656, allocations: 15.94 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.2658, allocations: 55.84 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2658, allocations: 0 / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2658, allocations: 0 / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2658, allocations: 4 kB / 0.7867 GB, free: 1.215 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.0006183/0.2665, allocations: 347.4 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.2665, allocations: 11.97 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.2666, allocations: 0.9375 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2668, allocations: 164.4 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2668, allocations: 4.375 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2668, allocations: 4.312 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.267, allocations: 50.23 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.267, allocations: 192 / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2671, allocations: 3.938 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2671, allocations: 0 / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2673, allocations: 35.95 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.2677, allocations: 245 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.2679, allocations: 46.42 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.268, allocations: 20.91 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5203/0.7883, allocations: 455.8 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.7884, allocations: 37.12 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.7884, allocations: 0 / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004237/0.7889, allocations: 81.92 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.7889, allocations: 52.91 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.789, allocations: 108.2 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.789, allocations: 28.45 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.789, allocations: 83.36 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7891, allocations: 2.969 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.7891, allocations: 16.34 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.7892, allocations: 313.9 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.7893, allocations: 17.38 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.7894, allocations: 14.61 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.7895, allocations: 41.19 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7895, allocations: 4.656 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.7898, allocations: 67.16 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.7898, allocations: 5.438 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7898, allocations: 0.5938 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.7898, allocations: 0.7812 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7899, allocations: 8.547 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.79, allocations: 4.562 kB / 0.7888 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.79, allocations: 8.391 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.79, allocations: 3.75 kB / 0.7889 GB, free: 47.87 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 8.794e-05/0.7901, allocations: 119.8 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.7902, allocations: 0 / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.7904, allocations: 73.72 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7904, allocations: 0 / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7904, allocations: 0 / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7904, allocations: 6.766 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.7906, allocations: 162.6 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7906, allocations: 2.688 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.7906, allocations: 12.09 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7906, allocations: 0 / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.7907, allocations: 0 / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7907, allocations: 0 / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7907, allocations: 0 / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.7909, allocations: 178.9 kB / 0.7894 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.7909, allocations: 80.92 kB / 0.7895 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.7909, allocations: 0 / 0.7895 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.791, allocations: 8.703 kB / 0.7895 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.791, allocations: 7.406 kB / 0.7895 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.7911, allocations: 2.625 kB / 0.7895 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.7911, allocations: 81.22 kB / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7911, allocations: 0 / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002443/0.7913, allocations: 19.19 kB / 0.7896 GB, free: 47.22 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.0001835/0.7915, allocations: 112 kB / 0.7897 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.7918, allocations: 39.89 kB / 0.7897 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7918, allocations: 1.375 kB / 0.7897 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.7918, allocations: 22.62 kB / 0.7897 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.7921, allocations: 8.594 kB / 0.7898 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.7924, allocations: 124 kB / 0.7899 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.7925, allocations: 0.6821 MB / 0.7905 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.7925, allocations: 10.19 kB / 0.7905 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7925, allocations: 0 / 0.7905 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.002125/0.7946, allocations: 0.7676 MB / 0.7913 GB, free: 46.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)