Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 174.3 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 85.5 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 16.72 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.257, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008018/0.2579, allocations: 326.3 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.2584, allocations: 196.6 kB / 0.902 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.2584, allocations: 3.938 kB / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.2584, allocations: 0 / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.2584, allocations: 4 kB / 0.902 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.2588, allocations: 47.89 kB / 0.902 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.405e-05/0.2588, allocations: 0 / 0.902 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2589, allocations: 4 kB / 0.902 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.2589, allocations: 3.984 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.2589, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.2589, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.2591, allocations: 67.88 kB / 0.9021 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2591, allocations: 0 / 0.9021 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.2592, allocations: 33.62 kB / 0.9021 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.568e-05/0.2593, allocations: 23.97 kB / 0.9021 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2593, allocations: 0 / 0.9021 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2593, allocations: 0 / 0.9021 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2593, allocations: 0 / 0.9021 GB, free: 62.79 MB / 0.6042 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.0002348/0.2595, allocations: 315.6 kB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2596, allocations: 12.03 kB / 0.9025 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.2596, allocations: 4.844 kB / 0.9025 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.2597, allocations: 164.4 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2597, allocations: 384 / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.2597, allocations: 384 / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.2598, allocations: 34.27 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2598, allocations: 4.172 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2599, allocations: 3.938 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2599, allocations: 0 / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.2599, allocations: 3.938 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.26, allocations: 145.7 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.26, allocations: 26.59 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.2601, allocations: 8.859 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.2608, allocations: 457.5 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2608, allocations: 34.55 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2608, allocations: 0 / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.2609, allocations: 41.58 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.261, allocations: 51.41 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.156e-05/0.261, allocations: 89.86 kB / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.261, allocations: 29.7 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.261, allocations: 80.14 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.261, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2611, allocations: 0 / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.2611, allocations: 314.8 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.2611, allocations: 8.062 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.2611, allocations: 11.92 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.2612, allocations: 4.859 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2612, allocations: 3.938 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.092e-05/0.2612, allocations: 33.7 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2612, allocations: 4 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2613, allocations: 0 / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2613, allocations: 3.938 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.2613, allocations: 96 / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2613, allocations: 8 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.2613, allocations: 0 / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2614, allocations: 0 / 0.904 GB, free: 60.61 MB / 0.6042 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 5.18e-05/0.2614, allocations: 113.8 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-06/0.2614, allocations: 0 / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.673e-05/0.2615, allocations: 44.7 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2615, allocations: 4 kB / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2615, allocations: 0 / 0.9041 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2616, allocations: 4.031 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.673e-05/0.2616, allocations: 149.7 kB / 0.9043 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.2616, allocations: 0 / 0.9043 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.2617, allocations: 4 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2617, allocations: 0 / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2617, allocations: 3.938 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2617, allocations: 0 / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2617, allocations: 0 / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.171e-05/0.2617, allocations: 61.12 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.2618, allocations: 81.11 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2618, allocations: 3.938 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.2618, allocations: 3.938 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.2618, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2618, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.2618, allocations: 75.28 kB / 0.9045 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2618, allocations: 0 / 0.9045 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002061/0.2621, allocations: 16 kB / 0.9045 GB, free: 59.96 MB / 0.6042 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.0001982/0.2623, allocations: 123.3 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.607e-05/0.2623, allocations: 7.938 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2623, allocations: 0 / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-06/0.2623, allocations: 0 / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.2625, allocations: 5.375 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.2627, allocations: 112.5 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2628, allocations: 0.6731 MB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.2628, allocations: 7.438 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2628, allocations: 3.938 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.001755/0.2646, allocations: 0.5567 MB / 0.9059 GB, free: 58.41 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)