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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009622/0.0009623, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.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.0005379/0.0005381, allocations: 16 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5758, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008692/0.5767, allocations: 316.6 kB / 0.7284 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005134/0.5773, allocations: 182.5 kB / 0.7286 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.5773, allocations: 3.938 kB / 0.7286 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.5773, allocations: 0 / 0.7286 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.5773, allocations: 0 / 0.7286 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.5777, allocations: 35.97 kB / 0.7286 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.5778, allocations: 7.922 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.5778, allocations: 4 kB / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.5779, allocations: 0 / 0.7287 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.5779, allocations: 4 kB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.5779, allocations: 3.984 kB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.5781, allocations: 59.89 kB / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.5781, allocations: 0 / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.5781, allocations: 25.7 kB / 0.7287 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.24e-05/0.5782, allocations: 23.89 kB / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5782, allocations: 0 / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5782, allocations: 0 / 0.7288 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5783, allocations: 4 kB / 0.7288 GB, free: 10.72 MB / 0.545 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.0002954/0.5786, allocations: 315.4 kB / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5786, allocations: 12.03 kB / 0.7291 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.5786, allocations: 3.906 kB / 0.7291 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5788, allocations: 167 kB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5788, allocations: 3.984 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.5788, allocations: 0 / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.5789, allocations: 29.7 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5789, allocations: 11.94 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5789, allocations: 0 / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5789, allocations: 0 / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.579, allocations: 0 / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.5791, allocations: 157.6 kB / 0.7294 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.5792, allocations: 18.56 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.5792, allocations: 4.859 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.58, allocations: 465.5 kB / 0.7299 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.58, allocations: 34.55 kB / 0.7299 GB, free: 9.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.58, allocations: 3.938 kB / 0.7299 GB, free: 9.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.5802, allocations: 29.7 kB / 0.73 GB, free: 9.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5802, allocations: 51.53 kB / 0.73 GB, free: 9.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659e-05/0.5803, allocations: 93.86 kB / 0.7301 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.5803, allocations: 29.7 kB / 0.7301 GB, free: 9.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.5803, allocations: 80.14 kB / 0.7302 GB, free: 8.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.5803, allocations: 0 / 0.7302 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.5803, allocations: 0 / 0.7302 GB, free: 8.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5805, allocations: 314.8 kB / 0.7305 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-06/0.5805, allocations: 0 / 0.7305 GB, free: 8.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-06/0.5805, allocations: 7.984 kB / 0.7305 GB, free: 8.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.5805, allocations: 4.062 kB / 0.7305 GB, free: 8.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5805, allocations: 3.953 kB / 0.7305 GB, free: 8.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.986e-05/0.5806, allocations: 33.64 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5806, allocations: 8 kB / 0.7306 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5806, allocations: 3.938 kB / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5806, allocations: 0 / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.5807, allocations: 0 / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5807, allocations: 0 / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.5807, allocations: 0 / 0.7306 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.5807, allocations: 4 kB / 0.7306 GB, free: 8.562 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/0.5808, allocations: 113.9 kB / 0.7307 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.5808, allocations: 7.953 kB / 0.7307 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.5809, allocations: 36.77 kB / 0.7307 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.5809, allocations: 0 / 0.7307 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5809, allocations: 0 / 0.7307 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5809, allocations: 0 / 0.7307 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.581, allocations: 149.7 kB / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.5811, allocations: 0 / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.5811, allocations: 3.953 kB / 0.7309 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5811, allocations: 4.031 kB / 0.7309 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.5811, allocations: 0 / 0.7309 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.5811, allocations: 4 kB / 0.7309 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5811, allocations: 0 / 0.7309 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.587e-05/0.5812, allocations: 57.12 kB / 0.7309 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.5812, allocations: 79.08 kB / 0.731 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.5812, allocations: 3.953 kB / 0.731 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.5812, allocations: 11.97 kB / 0.731 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.5813, allocations: 3.938 kB / 0.731 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.5813, allocations: 4 kB / 0.731 GB, free: 7.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.5813, allocations: 75.28 kB / 0.7311 GB, free: 7.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5813, allocations: 0 / 0.7311 GB, free: 7.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001986/0.5815, allocations: 16 kB / 0.7311 GB, free: 7.902 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.5818, allocations: 123.2 kB / 0.7312 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.89e-05/0.5818, allocations: 4 kB / 0.7312 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5818, allocations: 0 / 0.7312 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.5819, allocations: 4 kB / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.582, allocations: 0 / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.5822, allocations: 85.83 kB / 0.7313 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.5824, allocations: 0.6731 MB / 0.732 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.379e-05/0.5824, allocations: 4.125 kB / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.5825, allocations: 11.38 kB / 0.732 GB, free: 6.941 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5825, allocations: 0 / 0.732 GB, free: 6.941 MB / 0.545 GB Notification: Performance of Templates: time 0.002413/0.5849, allocations: 411.7 kB / 0.7324 GB, free: 6.539 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: