Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7455/0.7455, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.6 kB / 187.3 MB, free: 11.9 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.608/1.608, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.001059/0.001059, allocations: 92.59 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 271.1 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.008e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4809, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.6091, allocations: 108 MB / 0.8698 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.6094, allocations: 79.77 kB / 0.8699 GB, free: 484 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003368/0.6128, allocations: 1.278 MB / 0.8711 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6128, allocations: 0 / 0.8711 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6128, allocations: 0 / 0.8711 GB, free: 15.2 MB / 0.5417 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.0002475/0.6131, allocations: 334.4 kB / 0.8714 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6131, allocations: 8.031 kB / 0.8714 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.6132, allocations: 0 / 0.8714 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.6133, allocations: 167.1 kB / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.6133, allocations: 3.953 kB / 0.8716 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.6133, allocations: 0 / 0.8716 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/0.6134, allocations: 29.7 kB / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.6134, allocations: 0 / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6134, allocations: 0 / 0.8716 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.6134, allocations: 3.984 kB / 0.8716 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.6135, allocations: 4 kB / 0.8716 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.6136, allocations: 149.6 kB / 0.8718 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.68e-05/0.6137, allocations: 18.58 kB / 0.8718 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.6137, allocations: 12.91 kB / 0.8718 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/0.6143, allocations: 445.5 kB / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.6143, allocations: 38.56 kB / 0.8723 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6143, allocations: 0 / 0.8723 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000116/0.6144, allocations: 33.64 kB / 0.8723 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.6145, allocations: 51.41 kB / 0.8724 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.262e-05/0.6145, allocations: 85 kB / 0.8724 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.6145, allocations: 25.7 kB / 0.8725 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.6146, allocations: 84.17 kB / 0.8725 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.6146, allocations: 3.938 kB / 0.8725 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.6146, allocations: 0 / 0.8725 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6148, allocations: 314.8 kB / 0.8728 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-06/0.6148, allocations: 4 kB / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.6148, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.521e-05/0.6148, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6148, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.08e-05/0.6149, allocations: 45.7 kB / 0.8729 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6149, allocations: 7.953 kB / 0.8729 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6149, allocations: 0 / 0.8729 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6149, allocations: 0 / 0.8729 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.615, allocations: 7.938 kB / 0.8729 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.615, allocations: 3.984 kB / 0.8729 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-06/0.615, allocations: 0 / 0.8729 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.615, allocations: 0 / 0.8729 GB, free: 13.05 MB / 0.5417 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 7.068e-05/0.6151, allocations: 101 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.6151, allocations: 4.031 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.6152, allocations: 40.69 kB / 0.873 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.6152, allocations: 4 kB / 0.873 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6152, allocations: 0 / 0.873 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6152, allocations: 0 / 0.873 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.926e-05/0.6153, allocations: 153.7 kB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6153, allocations: 0 / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.6153, allocations: 4 kB / 0.8732 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6154, allocations: 4 kB / 0.8732 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.6154, allocations: 0 / 0.8732 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6154, allocations: 7.984 kB / 0.8732 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6154, allocations: 3.938 kB / 0.8732 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.407e-05/0.6155, allocations: 57.12 kB / 0.8733 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.6155, allocations: 81.11 kB / 0.8733 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.6155, allocations: 0 / 0.8733 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-06/0.6155, allocations: 0 / 0.8733 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.6155, allocations: 3.953 kB / 0.8734 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.6156, allocations: 0 / 0.8734 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.693e-05/0.6156, allocations: 79.31 kB / 0.8734 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.096e-06/0.6156, allocations: 0 / 0.8734 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001915/0.6158, allocations: 31.86 kB / 0.8735 GB, free: 12.39 MB / 0.5417 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.0002596/0.6161, allocations: 131.2 kB / 0.8736 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.6161, allocations: 7.938 kB / 0.8736 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6161, allocations: 0 / 0.8736 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.6161, allocations: 4 kB / 0.8736 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.6163, allocations: 4 kB / 0.8736 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000146/0.6164, allocations: 45.06 kB / 0.8736 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.6167, allocations: 0.677 MB / 0.8743 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.17e-05/0.6167, allocations: 0 / 0.8743 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/0.6167, allocations: 11.56 kB / 0.8743 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6167, allocations: 0 / 0.8743 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.003021/0.6198, allocations: 386.8 kB / 0.8747 GB, free: 11.09 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)