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.8332/0.8332, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001806/0.001806, allocations: 171.8 kB / 182.2 MB, free: 9.477 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.494/1.494, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009288/0.0009288, allocations: 84.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 293.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.826e-05, allocations: 8 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3641, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4961, allocations: 107.3 MB / 0.8622 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.4964, allocations: 83.81 kB / 0.8623 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003587/0.5, allocations: 1.244 MB / 0.8635 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5, allocations: 0 / 0.8635 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5, allocations: 0 / 0.8635 GB, free: 3.238 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.000327/0.5004, allocations: 318.5 kB / 0.8638 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5004, allocations: 12.03 kB / 0.8638 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.5004, allocations: 0 / 0.8638 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5006, allocations: 163.1 kB / 0.864 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.5006, allocations: 3.953 kB / 0.864 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.5006, allocations: 7.938 kB / 0.864 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.453e-05/0.5006, allocations: 0 / 0.864 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.493e-05/0.5007, allocations: 33.64 kB / 0.864 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.5007, allocations: 0 / 0.864 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.5007, allocations: 0 / 0.864 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5007, allocations: 0 / 0.864 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.5008, allocations: 126.2 kB / 0.8641 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.5009, allocations: 18.61 kB / 0.8641 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.305e-05/0.5009, allocations: 8.859 kB / 0.8642 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.5015, allocations: 441.5 kB / 0.8646 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.5015, allocations: 34.52 kB / 0.8646 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.5015, allocations: 0 / 0.8646 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.5016, allocations: 37.64 kB / 0.8646 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.5017, allocations: 51.41 kB / 0.8647 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.936e-05/0.5017, allocations: 85 kB / 0.8648 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5017, allocations: 25.7 kB / 0.8648 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.5018, allocations: 92.08 kB / 0.8649 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.5018, allocations: 3.984 kB / 0.8649 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-06/0.5018, allocations: 0 / 0.8649 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.5019, allocations: 310.8 kB / 0.8652 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.5019, allocations: 0 / 0.8652 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-06/0.5019, allocations: 4.031 kB / 0.8652 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.502, allocations: 4 kB / 0.8652 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.502, allocations: 0 / 0.8652 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.984e-05/0.502, allocations: 29.7 kB / 0.8652 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.502, allocations: 4 kB / 0.8652 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.5021, allocations: 0 / 0.8652 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.5021, allocations: 3.953 kB / 0.8652 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.5021, allocations: 7.984 kB / 0.8652 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5021, allocations: 0 / 0.8652 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.887e-05/0.5021, allocations: 8.094 kB / 0.8652 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.5022, allocations: 3.938 kB / 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 5.821e-05/0.5022, allocations: 106 kB / 0.8653 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-06/0.5022, allocations: 3.906 kB / 0.8654 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.5023, allocations: 37.45 kB / 0.8654 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5023, allocations: 0 / 0.8654 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5023, allocations: 7.891 kB / 0.8654 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5023, allocations: 3.984 kB / 0.8654 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.463e-05/0.5024, allocations: 122.2 kB / 0.8655 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5024, allocations: 4.031 kB / 0.8655 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.5025, allocations: 4 kB / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5025, allocations: 0 / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.5025, allocations: 0 / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5025, allocations: 0 / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5025, allocations: 0 / 0.8655 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.304e-05/0.5026, allocations: 65.02 kB / 0.8656 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.5026, allocations: 81.14 kB / 0.8657 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.5026, allocations: 0 / 0.8657 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-06/0.5026, allocations: 0 / 0.8657 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.5027, allocations: 4 kB / 0.8657 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.5027, allocations: 0 / 0.8657 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.5027, allocations: 75.28 kB / 0.8657 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5027, allocations: 0 / 0.8657 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001965/0.5029, allocations: 31.92 kB / 0.8658 GB, free: 0.5273 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.0002271/0.5031, allocations: 135.1 kB / 0.8659 GB, free: 396 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.704e-05/0.5032, allocations: 4 kB / 0.8659 GB, free: 392 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5032, allocations: 0 / 0.8659 GB, free: 392 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-06/0.5032, allocations: 7.938 kB / 0.8659 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.091e-05/0.5033, allocations: 5.344 kB / 0.8659 GB, free: 380 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000133/0.5034, allocations: 45.2 kB / 0.866 GB, free: 312 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.5037, allocations: 0.6729 MB / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.083e-05/0.5037, allocations: 0 / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.5038, allocations: 11.44 kB / 0.8666 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of SimCode: time 2.405e-06/0.5038, allocations: 0 / 0.8666 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.00204/0.5058, allocations: 377.9 kB / 0.867 GB, free: 15.23 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)