Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001332/0.001332, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002085/0.002086, allocations: 177.3 kB / 15.94 MB, free: 228 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.632/1.632, 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.703/1.703, allocations: 251.9 MB / 0.51 GB, free: 4.812 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.000766/0.0007662, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.725, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0008787/0.726, allocations: 317.3 kB / 0.7283 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004472/0.7265, allocations: 169 kB / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.7265, allocations: 0 / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.7265, allocations: 4 kB / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.7265, allocations: 0 / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.7269, allocations: 43.83 kB / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.962e-05/0.7269, allocations: 0 / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.727, allocations: 0 / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.727, allocations: 4 kB / 0.7285 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.999e-05/0.7271, allocations: 0 / 0.7285 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.7271, allocations: 0 / 0.7285 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.7273, allocations: 63.86 kB / 0.7285 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.7273, allocations: 4 kB / 0.7286 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.7273, allocations: 29.7 kB / 0.7286 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.7274, allocations: 23.97 kB / 0.7286 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7274, allocations: 0 / 0.7286 GB, free: 10.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7275, allocations: 0 / 0.7286 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.7275, allocations: 0 / 0.7286 GB, free: 10.8 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.0003703/0.7278, allocations: 318.5 kB / 0.7289 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7279, allocations: 8.031 kB / 0.7289 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.7279, allocations: 3.906 kB / 0.7289 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.7281, allocations: 175 kB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.7281, allocations: 0 / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7281, allocations: 4 kB / 0.7291 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.7282, allocations: 29.7 kB / 0.7291 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7282, allocations: 7.875 kB / 0.7291 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.7283, allocations: 0 / 0.7291 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.7283, allocations: 0 / 0.7291 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.7283, allocations: 4 kB / 0.7291 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.7285, allocations: 149.6 kB / 0.7293 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.7285, allocations: 22.61 kB / 0.7293 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007855/0.7293, allocations: 449.5 kB / 0.7297 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.7293, allocations: 38.56 kB / 0.7298 GB, free: 9.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7294, allocations: 0 / 0.7298 GB, free: 9.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001638/0.7295, allocations: 41.72 kB / 0.7298 GB, free: 9.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.7296, allocations: 55.41 kB / 0.7299 GB, free: 9.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.7296, allocations: 89.86 kB / 0.7299 GB, free: 9.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.7297, allocations: 25.7 kB / 0.73 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.7297, allocations: 80.14 kB / 0.73 GB, free: 9.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.7298, allocations: 0 / 0.73 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.7298, allocations: 0 / 0.73 GB, free: 9.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7299, allocations: 314.8 kB / 0.7303 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.7299, allocations: 0 / 0.7303 GB, free: 8.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.73, allocations: 4.031 kB / 0.7303 GB, free: 8.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.73, allocations: 4 kB / 0.7303 GB, free: 8.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.73, allocations: 0 / 0.7303 GB, free: 8.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.645e-05/0.7301, allocations: 45.58 kB / 0.7304 GB, free: 8.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7301, allocations: 4 kB / 0.7304 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7301, allocations: 0 / 0.7304 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7301, allocations: 0 / 0.7304 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.7302, allocations: 4 kB / 0.7304 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.7302, allocations: 0 / 0.7304 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.7302, allocations: 4.094 kB / 0.7304 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7302, allocations: 0 / 0.7304 GB, free: 8.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/0.7303, allocations: 109.8 kB / 0.7305 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.7303, allocations: 7.953 kB / 0.7305 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.7304, allocations: 40.75 kB / 0.7306 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.7304, allocations: 0 / 0.7306 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7305, allocations: 0 / 0.7306 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7305, allocations: 0 / 0.7306 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.7306, allocations: 149.7 kB / 0.7307 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7306, allocations: 8.016 kB / 0.7307 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.7306, allocations: 4 kB / 0.7307 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7307, allocations: 3.953 kB / 0.7307 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.7307, allocations: 0 / 0.7307 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7307, allocations: 0 / 0.7307 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7307, allocations: 0 / 0.7307 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/0.7308, allocations: 57.08 kB / 0.7308 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.7308, allocations: 87.06 kB / 0.7308 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.7309, allocations: 7.984 kB / 0.7309 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.7309, allocations: 0 / 0.7309 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.7309, allocations: 0 / 0.7309 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.7309, allocations: 0 / 0.7309 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.731, allocations: 83.22 kB / 0.7309 GB, free: 8.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.731, allocations: 0 / 0.7309 GB, free: 8.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002093/0.7312, allocations: 8 kB / 0.7309 GB, free: 7.996 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 (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.0002983/0.7315, allocations: 123.2 kB / 0.7311 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.643e-05/0.7316, allocations: 4 kB / 0.7311 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7316, allocations: 0 / 0.7311 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.7316, allocations: 0 / 0.7311 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.7317, allocations: 4 kB / 0.7311 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.732, allocations: 82.06 kB / 0.7311 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.7323, allocations: 0.677 MB / 0.7318 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.7324, allocations: 4 kB / 0.7318 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.7324, allocations: 7.438 kB / 0.7318 GB, free: 7.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.7324, allocations: 0 / 0.7318 GB, free: 7.039 MB / 0.545 GB Notification: Performance of Templates: time 0.002818/0.7352, allocations: 403.7 kB / 0.7322 GB, free: 6.645 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: