Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.892/0.892, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001476, allocations: 184.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008396, allocations: 83.81 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 270.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.97e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3706, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5064, allocations: 107.3 MB / 0.8622 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5067, allocations: 79.83 kB / 0.8623 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003355/0.5101, allocations: 1.249 MB / 0.8635 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5101, allocations: 0 / 0.8635 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.5101, allocations: 4 kB / 0.8635 GB, free: 3.23 MB / 0.5261 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.00029/0.5104, allocations: 322.5 kB / 0.8638 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5105, allocations: 12.03 kB / 0.8638 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.5105, allocations: 0 / 0.8638 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5106, allocations: 159.1 kB / 0.8639 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.5106, allocations: 7.891 kB / 0.864 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.5106, allocations: 0 / 0.864 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.743e-05/0.5107, allocations: 7.984 kB / 0.864 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.5108, allocations: 29.7 kB / 0.864 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5108, allocations: 0 / 0.864 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.5108, allocations: 0 / 0.864 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5108, allocations: 3.938 kB / 0.864 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.5109, allocations: 126.2 kB / 0.8641 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.666e-05/0.511, allocations: 22.61 kB / 0.8641 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.511, allocations: 4.859 kB / 0.8641 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.5116, allocations: 445.5 kB / 0.8646 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5117, allocations: 34.52 kB / 0.8646 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.5117, allocations: 0 / 0.8646 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.5118, allocations: 33.7 kB / 0.8646 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.5119, allocations: 51.41 kB / 0.8647 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.806e-05/0.5119, allocations: 93.03 kB / 0.8648 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5119, allocations: 25.7 kB / 0.8648 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.512, allocations: 80.14 kB / 0.8649 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.512, allocations: 0 / 0.8649 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.512, allocations: 0 / 0.8649 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5121, allocations: 314.8 kB / 0.8652 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.5122, allocations: 0 / 0.8652 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.5122, allocations: 4 kB / 0.8652 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.5122, allocations: 0 / 0.8652 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5122, allocations: 8 kB / 0.8652 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.551e-05/0.5123, allocations: 33.64 kB / 0.8652 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5123, allocations: 4 kB / 0.8652 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5123, allocations: 4 kB / 0.8652 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5123, allocations: 3.953 kB / 0.8652 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.5124, allocations: 0 / 0.8652 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5124, allocations: 0 / 0.8652 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-06/0.5124, allocations: 0 / 0.8652 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.5124, allocations: 0 / 0.8652 GB, free: 1.148 MB / 0.5261 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 () * 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 6.956e-05/0.5125, allocations: 117 kB / 0.8653 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.5125, allocations: 3.906 kB / 0.8653 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.5126, allocations: 36.89 kB / 0.8654 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5126, allocations: 0 / 0.8654 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5126, allocations: 3.953 kB / 0.8654 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5126, allocations: 3.938 kB / 0.8654 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.66e-05/0.5127, allocations: 126.2 kB / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5127, allocations: 4 kB / 0.8655 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.5128, allocations: 4 kB / 0.8655 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5128, allocations: 0 / 0.8655 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5128, allocations: 4.031 kB / 0.8655 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5128, allocations: 0 / 0.8655 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5128, allocations: 0 / 0.8655 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.545e-05/0.5129, allocations: 65.08 kB / 0.8656 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.5129, allocations: 77.11 kB / 0.8657 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.5129, allocations: 3.938 kB / 0.8657 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.513, allocations: 0 / 0.8657 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.513, allocations: 4.031 kB / 0.8657 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.513, allocations: 4 kB / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.513, allocations: 75.28 kB / 0.8657 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.513, allocations: 0 / 0.8657 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002167/0.5132, allocations: 23.94 kB / 0.8658 GB, free: 0.5195 MB / 0.5261 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 () * 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.0002472/0.5135, allocations: 135.1 kB / 0.8659 GB, free: 388 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.163e-05/0.5135, allocations: 4 kB / 0.8659 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5136, allocations: 0 / 0.8659 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.5136, allocations: 7.984 kB / 0.8659 GB, free: 376 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.612e-05/0.5137, allocations: 0 / 0.8659 GB, free: 376 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001214/0.5138, allocations: 48.02 kB / 0.8659 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.514, allocations: 0.6729 MB / 0.8666 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.514, allocations: 8.125 kB / 0.8666 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.5141, allocations: 7.438 kB / 0.8666 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5141, allocations: 0 / 0.8666 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.001968/0.516, allocations: 373.1 kB / 0.867 GB, free: 15.22 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)