Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001202/0.001201, allocations: 108 kB / 16.27 MB, free: 6.004 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.001131/0.001131, allocations: 183.4 kB / 17.19 MB, free: 5.621 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.541/1.541, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.83/1.83, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001543/0.001543, allocations: 63.91 kB / 0.6722 GB, free: 6.625 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3016, allocations: 114.6 MB / 0.784 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00195/0.3036, allocations: 0.5857 MB / 0.7846 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005096/0.3041, allocations: 195.3 kB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.3042, allocations: 7.938 kB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.3042, allocations: 0 / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.3042, allocations: 0 / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3046, allocations: 55.83 kB / 0.7849 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.456e-05/0.3046, allocations: 0 / 0.7849 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.3047, allocations: 0 / 0.7849 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.3047, allocations: 0 / 0.7849 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.3047, allocations: 3.984 kB / 0.7849 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-06/0.3047, allocations: 4 kB / 0.7849 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.3049, allocations: 59.88 kB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-06/0.3049, allocations: 0 / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.305, allocations: 4 kB / 0.7849 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3051, allocations: 39.88 kB / 0.785 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3051, allocations: 4 kB / 0.785 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3051, allocations: 0 / 0.785 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3051, allocations: 0 / 0.785 GB, free: 2.992 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003312/0.3055, allocations: 319.6 kB / 0.7853 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3055, allocations: 12.03 kB / 0.7853 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.3056, allocations: 0.9375 kB / 0.7853 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3057, allocations: 164.3 kB / 0.7854 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3057, allocations: 384 / 0.7854 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.3057, allocations: 8.359 kB / 0.7854 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3058, allocations: 34.25 kB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3059, allocations: 192 / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3059, allocations: 7.875 kB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3059, allocations: 0 / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.3059, allocations: 0 / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.3061, allocations: 145.7 kB / 0.7856 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/0.3061, allocations: 22.61 kB / 0.7856 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.3061, allocations: 4.859 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007651/0.3069, allocations: 461.5 kB / 0.7861 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3069, allocations: 30.56 kB / 0.7861 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.307, allocations: 4 kB / 0.7861 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.3071, allocations: 41.56 kB / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3071, allocations: 51.41 kB / 0.7862 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.688e-05/0.3072, allocations: 89.86 kB / 0.7863 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3072, allocations: 25.7 kB / 0.7863 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.3072, allocations: 84.14 kB / 0.7864 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3073, allocations: 7.906 kB / 0.7864 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.3073, allocations: 9.719 kB / 0.7864 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3075, allocations: 315 kB / 0.7867 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.3075, allocations: 0 / 0.7867 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.3075, allocations: 4 kB / 0.7867 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.3075, allocations: 8.797 kB / 0.7867 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3075, allocations: 0 / 0.7867 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.985e-05/0.3076, allocations: 41.69 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3076, allocations: 4 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3076, allocations: 0 / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3076, allocations: 8.031 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.262e-05/0.3077, allocations: 4 kB / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3077, allocations: 0 / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-06/0.3077, allocations: 0 / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3077, allocations: 0 / 0.7868 GB, free: 0.8047 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 (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.115e-05/0.3078, allocations: 105.8 kB / 0.7869 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.3078, allocations: 3.938 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/0.3079, allocations: 56.62 kB / 0.7869 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3079, allocations: 4.031 kB / 0.787 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3079, allocations: 4 kB / 0.787 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3079, allocations: 0 / 0.787 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.512e-05/0.308, allocations: 145.7 kB / 0.7871 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.308, allocations: 0 / 0.7871 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.308, allocations: 4 kB / 0.7871 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3081, allocations: 0 / 0.7871 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3081, allocations: 3.938 kB / 0.7871 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3081, allocations: 0 / 0.7871 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.3081, allocations: 0 / 0.7871 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.843e-05/0.3081, allocations: 69.06 kB / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3082, allocations: 77.39 kB / 0.7872 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3082, allocations: 3.938 kB / 0.7872 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.3082, allocations: 0 / 0.7872 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.3082, allocations: 0 / 0.7872 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.3082, allocations: 0 / 0.7872 GB, free: 240 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.3083, allocations: 75.28 kB / 0.7873 GB, free: 164 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3083, allocations: 0 / 0.7873 GB, free: 164 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001963/0.3085, allocations: 16.03 kB / 0.7873 GB, free: 148 kB / 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 (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.0002133/0.3087, allocations: 119.2 kB / 0.7874 GB, free: 20 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.3088, allocations: 4 kB / 0.7874 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3088, allocations: 0 / 0.7874 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-06/0.3088, allocations: 0 / 0.7874 GB, free: 16 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.309, allocations: 12.06 kB / 0.7875 GB, free: 4 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.429/0.738, allocations: 96.97 kB / 0.7876 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.7381, allocations: 0.6702 MB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.7382, allocations: 8.781 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.7382, allocations: 0 / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.002117/0.7403, allocations: 0.5583 MB / 0.7888 GB, free: 47.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)