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.00504/0.00504, allocations: 103.2 kB / 15.73 MB, free: 6.008 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.001261/0.001261, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.172/1.172, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.25/1.25, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001228/0.001228, allocations: 75.88 kB / 0.7258 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4649, allocations: 104.7 MB / 0.828 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00247/0.4674, allocations: 1.43 MB / 0.8294 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005255/0.468, allocations: 258.2 kB / 0.8297 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.468, allocations: 0 / 0.8297 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.468, allocations: 0 / 0.8297 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.4681, allocations: 3.938 kB / 0.8297 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.4685, allocations: 67.81 kB / 0.8297 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.561e-05/0.4686, allocations: 19.88 kB / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4687, allocations: 11.97 kB / 0.8298 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.4687, allocations: 8 kB / 0.8298 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.4688, allocations: 15.92 kB / 0.8298 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.4688, allocations: 0 / 0.8298 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.469, allocations: 59.94 kB / 0.8299 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.469, allocations: 4 kB / 0.8299 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.469, allocations: 7.938 kB / 0.8299 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.4692, allocations: 59.78 kB / 0.8299 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4692, allocations: 4 kB / 0.8299 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4692, allocations: 0 / 0.8299 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4692, allocations: 0 / 0.8299 GB, free: 0.6094 MB / 0.6231 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.0005004/0.4697, allocations: 343.1 kB / 0.8303 GB, free: 232 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4697, allocations: 12.03 kB / 0.8303 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.4698, allocations: 4.844 kB / 0.8303 GB, free: 216 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4699, allocations: 164.4 kB / 0.8304 GB, free: 12 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4699, allocations: 4.375 kB / 0.8304 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.47, allocations: 384 / 0.8304 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.4702, allocations: 54.23 kB / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4702, allocations: 192 / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4702, allocations: 3.938 kB / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4702, allocations: 0 / 0.8305 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.4704, allocations: 39.89 kB / 0.8305 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.4708, allocations: 241 kB / 0.8308 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.4709, allocations: 50.47 kB / 0.8308 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.471, allocations: 20.91 kB / 0.8308 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/0.4717, allocations: 465.4 kB / 0.8313 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.4717, allocations: 30.56 kB / 0.8313 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4717, allocations: 0 / 0.8313 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.000352/0.4721, allocations: 85.58 kB / 0.8314 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4721, allocations: 51.41 kB / 0.8314 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.4722, allocations: 102 kB / 0.8315 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4722, allocations: 25.7 kB / 0.8315 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.4723, allocations: 84.05 kB / 0.8316 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.4723, allocations: 14.17 kB / 0.8316 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.4723, allocations: 13.72 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4724, allocations: 314.8 kB / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.4725, allocations: 15.98 kB / 0.832 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.4726, allocations: 19.97 kB / 0.832 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4728, allocations: 40.77 kB / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4728, allocations: 0 / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.4729, allocations: 73.5 kB / 0.8321 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.473, allocations: 7.938 kB / 0.8321 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.473, allocations: 4.094 kB / 0.8321 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.473, allocations: 0 / 0.8321 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.4731, allocations: 11.98 kB / 0.8321 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4731, allocations: 0 / 0.8321 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.4731, allocations: 4 kB / 0.8321 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.4732, allocations: 4 kB / 0.8321 GB, free: 14.04 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.4732, allocations: 109.8 kB / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.4733, allocations: 4 kB / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.4735, allocations: 84.66 kB / 0.8323 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4735, allocations: 0 / 0.8323 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4735, allocations: 0 / 0.8323 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4735, allocations: 0 / 0.8323 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.4737, allocations: 157.6 kB / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4737, allocations: 8 kB / 0.8325 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.4737, allocations: 7.984 kB / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.4737, allocations: 0 / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.4738, allocations: 4.031 kB / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4738, allocations: 0 / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4738, allocations: 4 kB / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.474, allocations: 159.4 kB / 0.8326 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.474, allocations: 89.02 kB / 0.8327 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.4741, allocations: 0 / 0.8327 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.4741, allocations: 12.02 kB / 0.8327 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.4742, allocations: 0 / 0.8327 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4742, allocations: 0 / 0.8327 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.4742, allocations: 83.27 kB / 0.8328 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.323e-06/0.4742, allocations: 0 / 0.8328 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002191/0.4744, allocations: 19.94 kB / 0.8328 GB, free: 13.21 MB / 0.6387 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 (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.0002128/0.4747, allocations: 124.3 kB / 0.833 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4749, allocations: 31.97 kB / 0.833 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4749, allocations: 0 / 0.833 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.475, allocations: 19.92 kB / 0.833 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.4752, allocations: 15.92 kB / 0.833 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.4755, allocations: 101.7 kB / 0.8331 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.4758, allocations: 0.6805 MB / 0.8338 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.4758, allocations: 0 / 0.8338 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.4758, allocations: 11.44 kB / 0.8338 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of SimCode: time 2e-07/0.4758, allocations: 0 / 0.8338 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.00297/0.4788, allocations: 0.6682 MB / 0.8344 GB, free: 11.51 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (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)