Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008672, 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.0009081/0.0009081, allocations: 191.1 kB / 16.25 MB, free: 6.641 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.219/1.219, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.295/1.295, allocations: 251.7 MB / 0.5089 GB, free: 3.293 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.001253/0.001253, allocations: 67.91 kB / 0.6218 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4043, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001594/0.4059, allocations: 0.6597 MB / 0.7246 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000495/0.4064, allocations: 282 kB / 0.7249 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-06/0.4064, allocations: 3.938 kB / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.4065, allocations: 0 / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-06/0.4065, allocations: 0 / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.4069, allocations: 83.77 kB / 0.725 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.973e-05/0.4069, allocations: 7.938 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.4069, allocations: 4 kB / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.407, allocations: 0 / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.509e-05/0.407, allocations: 0 / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.407, allocations: 0 / 0.725 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.4072, allocations: 135.7 kB / 0.7251 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.4072, allocations: 4 kB / 0.7251 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.4073, allocations: 4 kB / 0.7251 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.4074, allocations: 67.83 kB / 0.7252 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4074, allocations: 0 / 0.7252 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4074, allocations: 0 / 0.7252 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4074, allocations: 3.984 kB / 0.7252 GB, free: 11.86 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.0002684/0.4077, allocations: 323.6 kB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.4077, allocations: 12.03 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.4077, allocations: 0.9375 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.4078, allocations: 172.4 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.4078, allocations: 384 / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.4079, allocations: 384 / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.857e-05/0.4079, allocations: 38.14 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.4079, allocations: 192 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.408, allocations: 3.938 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.408, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.408, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.4081, allocations: 149.7 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.898e-05/0.4081, allocations: 22.58 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.4082, allocations: 4.859 kB / 0.7259 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.4088, allocations: 453.6 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4088, allocations: 46.48 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4088, allocations: 0 / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.838e-05/0.4089, allocations: 33.64 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4089, allocations: 51.41 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.081e-05/0.409, allocations: 89.86 kB / 0.7266 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.409, allocations: 29.64 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.409, allocations: 84.14 kB / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.4091, allocations: 128 / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.4091, allocations: 13.72 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4092, allocations: 314.8 kB / 0.727 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.4092, allocations: 4 kB / 0.727 GB, free: 9.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.4092, allocations: 3.984 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.076e-05/0.4092, allocations: 12.8 kB / 0.727 GB, free: 9.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4093, allocations: 0 / 0.727 GB, free: 9.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.716e-05/0.4093, allocations: 29.7 kB / 0.727 GB, free: 9.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.4093, allocations: 8.094 kB / 0.727 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4093, allocations: 0 / 0.727 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.4093, allocations: 3.938 kB / 0.727 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.301e-05/0.4094, allocations: 7.984 kB / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4094, allocations: 0 / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-06/0.4094, allocations: 0 / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.4094, allocations: 0 / 0.727 GB, free: 9.668 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.4095, allocations: 113.8 kB / 0.7271 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.4095, allocations: 4 kB / 0.7272 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.4095, allocations: 44.7 kB / 0.7272 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4096, allocations: 0 / 0.7272 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4096, allocations: 0 / 0.7272 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.4096, allocations: 3.938 kB / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.207e-05/0.4097, allocations: 149.7 kB / 0.7273 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4097, allocations: 0 / 0.7273 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.4097, allocations: 4 kB / 0.7273 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4097, allocations: 0 / 0.7273 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.4097, allocations: 3.938 kB / 0.7273 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4097, allocations: 0 / 0.7273 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4097, allocations: 4.031 kB / 0.7274 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.282e-05/0.4098, allocations: 65.06 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.4098, allocations: 79.08 kB / 0.7275 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.4098, allocations: 3.938 kB / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-06/0.4098, allocations: 0 / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-06/0.4098, allocations: 0 / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.4098, allocations: 4 kB / 0.7275 GB, free: 9.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.4099, allocations: 79.31 kB / 0.7276 GB, free: 9.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4099, allocations: 0 / 0.7276 GB, free: 9.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002094/0.4101, allocations: 31.98 kB / 0.7276 GB, free: 8.988 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 (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.0002198/0.4103, allocations: 139.2 kB / 0.7277 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.228e-05/0.4104, allocations: 4 kB / 0.7277 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4104, allocations: 0 / 0.7277 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.4104, allocations: 3.938 kB / 0.7277 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.4105, allocations: 3.938 kB / 0.7277 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001387/0.4106, allocations: 84.84 kB / 0.7278 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.4109, allocations: 0.6729 MB / 0.7285 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.018e-05/0.4109, allocations: 4 kB / 0.7285 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.4109, allocations: 15.56 kB / 0.7285 GB, free: 8 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4109, allocations: 0 / 0.7285 GB, free: 8 MB / 0.545 GB Notification: Performance of Templates: time 0.002036/0.413, allocations: 0.6328 MB / 0.7291 GB, free: 7.367 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)