Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001103/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001187/0.001187, allocations: 192.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.73 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001717/0.3084, allocations: 0.6387 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004012/0.3088, allocations: 185.5 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.3089, allocations: 7.938 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.3089, allocations: 0 / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-06/0.3089, allocations: 0 / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3093, allocations: 47.39 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.194e-05/0.3093, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.3093, allocations: 8 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.169e-05/0.3094, allocations: 0 / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.3094, allocations: 3.938 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-06/0.3094, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3096, allocations: 67.86 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.3096, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.3096, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3097, allocations: 31.95 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3097, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3097, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3097, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 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.000267/0.31, allocations: 315.6 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.31, allocations: 8.031 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3101, allocations: 4.938 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.3102, allocations: 164.3 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3102, allocations: 4.375 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.3102, allocations: 384 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.3103, allocations: 30.27 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.3103, allocations: 192 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3103, allocations: 11.92 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3103, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.3103, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.3104, allocations: 145.7 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.3105, allocations: 26.55 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.3105, allocations: 8.859 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.3112, allocations: 453.5 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3113, allocations: 34.56 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 2.414e-06/0.3113, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.3114, allocations: 41.58 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.3115, allocations: 55.34 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.302e-05/0.3115, allocations: 89.86 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3115, allocations: 25.7 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.3116, allocations: 80.14 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3116, allocations: 7.984 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.3116, allocations: 9.719 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3118, allocations: 315 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.3118, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.3118, allocations: 7.938 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.3118, allocations: 8.859 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3118, allocations: 0 / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.005e-05/0.3119, allocations: 37.61 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3119, allocations: 4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3119, allocations: 4.078 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3119, allocations: 11.88 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.803e-05/0.312, allocations: 4 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.312, allocations: 3.984 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.312, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.312, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 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.731e-05/0.3121, allocations: 105.8 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.3121, allocations: 4 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.3122, allocations: 44.75 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3122, allocations: 4.031 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3122, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3122, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.584e-05/0.3123, allocations: 141.7 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3123, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.3123, allocations: 8 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3123, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3123, allocations: 3.938 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3123, allocations: 7.922 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3123, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.903e-05/0.3124, allocations: 65.12 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.3124, allocations: 77.11 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.3124, allocations: 3.938 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-06/0.3124, allocations: 3.938 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.3125, allocations: 3.984 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.3125, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.308e-05/0.3125, allocations: 75.28 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3125, allocations: 8.031 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001977/0.3127, allocations: 12 kB / 1.071 GB, free: 6.961 MB / 0.8262 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.0001811/0.3129, allocations: 115.2 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.313, allocations: 11.94 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.313, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.313, allocations: 4.062 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3131, allocations: 4.703 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001442/0.3133, allocations: 80.92 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.3135, allocations: 0.6729 MB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.106e-05/0.3135, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.3135, allocations: 11.38 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3135, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.002179/0.3157, allocations: 396.5 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)