Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 92.31 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.001681/0.001681, 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.704/1.704, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.587/1.587, allocations: 252 MB / 0.5102 GB, free: 4.832 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.0005124/0.0005125, allocations: 12 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.5451, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001944/0.5471, allocations: 1.145 MB / 0.7292 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005862/0.5477, allocations: 236.4 kB / 0.7295 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.5477, allocations: 0 / 0.7295 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.5478, allocations: 0 / 0.7295 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.5478, allocations: 7.938 kB / 0.7295 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.5482, allocations: 51.83 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.5483, allocations: 19.92 kB / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.5484, allocations: 4 kB / 0.7296 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.5484, allocations: 7.984 kB / 0.7296 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.5485, allocations: 15.88 kB / 0.7296 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.5485, allocations: 0 / 0.7296 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.5486, allocations: 67.86 kB / 0.7296 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.5487, allocations: 4 kB / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.5487, allocations: 29.7 kB / 0.7297 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.5488, allocations: 27.94 kB / 0.7297 GB, free: 9.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5488, allocations: 4 kB / 0.7297 GB, free: 9.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5488, allocations: 0 / 0.7297 GB, free: 9.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.5488, allocations: 0 / 0.7297 GB, free: 9.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004575/0.5493, allocations: 349.3 kB / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5493, allocations: 8.031 kB / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.5494, allocations: 0 / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5495, allocations: 175 kB / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5495, allocations: 0 / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.5496, allocations: 0 / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.5497, allocations: 61.61 kB / 0.7303 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5498, allocations: 0 / 0.7303 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5498, allocations: 0 / 0.7303 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5498, allocations: 4 kB / 0.7303 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.5499, allocations: 43.95 kB / 0.7303 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.5503, allocations: 256.8 kB / 0.7306 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.5504, allocations: 50.53 kB / 0.7306 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.5505, allocations: 28.91 kB / 0.7306 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.5511, allocations: 457.5 kB / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.5512, allocations: 30.56 kB / 0.7311 GB, free: 8.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.5512, allocations: 4 kB / 0.7311 GB, free: 8.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003242/0.5515, allocations: 101.6 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.5516, allocations: 51.53 kB / 0.7312 GB, free: 7.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.5516, allocations: 101.8 kB / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5517, allocations: 33.58 kB / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.5517, allocations: 88.14 kB / 0.7315 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.5517, allocations: 3.906 kB / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.5517, allocations: 0 / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5518, allocations: 314.8 kB / 0.7318 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.5519, allocations: 27.98 kB / 0.7318 GB, free: 7.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.552, allocations: 19.97 kB / 0.7318 GB, free: 7.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.362e-05/0.5521, allocations: 23.98 kB / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5521, allocations: 0 / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/0.5523, allocations: 77.72 kB / 0.7319 GB, free: 7.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5523, allocations: 6.031 kB / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5523, allocations: 0 / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5523, allocations: 0 / 0.7319 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.5524, allocations: 15.94 kB / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.5524, allocations: 4.031 kB / 0.7319 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.5525, allocations: 7.984 kB / 0.7319 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.5525, allocations: 0 / 0.7319 GB, free: 7.23 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 (2): * Single equations (assignments): 2 * 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 6.926e-05/0.5526, allocations: 121.7 kB / 0.7321 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.5526, allocations: 3.906 kB / 0.7321 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.5528, allocations: 84.77 kB / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5528, allocations: 0 / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5528, allocations: 0 / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5529, allocations: 0 / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.553, allocations: 157.6 kB / 0.7323 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.553, allocations: 4 kB / 0.7323 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.5531, allocations: 20.02 kB / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5531, allocations: 0 / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5531, allocations: 0 / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5531, allocations: 0 / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5531, allocations: 0 / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5534, allocations: 179.4 kB / 0.7325 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.5534, allocations: 81.11 kB / 0.7326 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.5535, allocations: 0 / 0.7326 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.5535, allocations: 7.984 kB / 0.7326 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.5536, allocations: 8 kB / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.5536, allocations: 0 / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.5536, allocations: 87.2 kB / 0.7327 GB, free: 6.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5536, allocations: 4.031 kB / 0.7327 GB, free: 6.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002368/0.5539, allocations: 16 kB / 0.7327 GB, free: 6.375 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 (2): * Single equations (assignments): 2 * 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.0002045/0.5541, allocations: 111.2 kB / 0.7328 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.5543, allocations: 51.91 kB / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5543, allocations: 0 / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.5544, allocations: 23.98 kB / 0.7329 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5547, allocations: 7.953 kB / 0.7329 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.5549, allocations: 112.7 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.5552, allocations: 0.677 MB / 0.7336 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.5552, allocations: 0 / 0.7336 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.5552, allocations: 11.44 kB / 0.7336 GB, free: 5.324 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5552, allocations: 0 / 0.7336 GB, free: 5.324 MB / 0.545 GB Notification: Performance of Templates: time 0.002716/0.5579, allocations: 0.5896 MB / 0.7342 GB, free: 4.734 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: