Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7645/0.7645, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001326/0.001326, allocations: 184.6 kB / 187.3 MB, free: 11.87 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.419/1.419, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009531/0.0009531, allocations: 94.66 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 271.7 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.337e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4152, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.5356, allocations: 108.8 MB / 0.8705 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5359, allocations: 78.91 kB / 0.8706 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004447/0.5403, allocations: 1.571 MB / 0.8721 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5404, allocations: 0 / 0.8721 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5404, allocations: 0 / 0.8721 GB, free: 14.14 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003235/0.5407, allocations: 350.5 kB / 0.8724 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.5408, allocations: 8.031 kB / 0.8724 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.5408, allocations: 4 kB / 0.8724 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.5409, allocations: 167 kB / 0.8726 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5409, allocations: 7.953 kB / 0.8726 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.541, allocations: 4 kB / 0.8726 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.5411, allocations: 41.62 kB / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.5411, allocations: 0 / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.5411, allocations: 0 / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.5411, allocations: 0 / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.5411, allocations: 12 kB / 0.8727 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.5415, allocations: 268.8 kB / 0.8729 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.5416, allocations: 26.61 kB / 0.873 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.5416, allocations: 12.86 kB / 0.873 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/0.5422, allocations: 449.5 kB / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.5422, allocations: 30.56 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.5422, allocations: 4 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.5424, allocations: 37.7 kB / 0.8735 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.5424, allocations: 55.39 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.5425, allocations: 96.94 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.5425, allocations: 29.73 kB / 0.8736 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.5426, allocations: 84.08 kB / 0.8737 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.5426, allocations: 11.91 kB / 0.8737 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.5426, allocations: 0 / 0.8737 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.5427, allocations: 310.8 kB / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.5427, allocations: 7.938 kB / 0.874 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.5427, allocations: 8 kB / 0.874 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.5428, allocations: 7.938 kB / 0.874 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5428, allocations: 4.062 kB / 0.874 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.336e-05/0.5428, allocations: 41.7 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5429, allocations: 5.406 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5429, allocations: 0 / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5429, allocations: 4 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.543, allocations: 15.98 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.543, allocations: 0 / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.5431, allocations: 7.984 kB / 0.8741 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5431, allocations: 8.031 kB / 0.8741 GB, free: 11.77 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 (2): * Single equations (assignments): 2 * 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.455e-05/0.5431, allocations: 108.9 kB / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.5432, allocations: 0 / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-05/0.5433, allocations: 52.66 kB / 0.8743 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5433, allocations: 4 kB / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5433, allocations: 0 / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5433, allocations: 0 / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.5434, allocations: 153.7 kB / 0.8744 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5434, allocations: 3.953 kB / 0.8744 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.5435, allocations: 16.02 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5435, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.5435, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5435, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5435, allocations: 4 kB / 0.8745 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.898e-05/0.5436, allocations: 139.5 kB / 0.8746 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.5437, allocations: 89.28 kB / 0.8747 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.5437, allocations: 0 / 0.8747 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.5438, allocations: 11.97 kB / 0.8747 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.5438, allocations: 4 kB / 0.8747 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.5438, allocations: 3.938 kB / 0.8747 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.5439, allocations: 83.27 kB / 0.8748 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5439, allocations: 0 / 0.8748 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002332/0.5441, allocations: 27.94 kB / 0.8748 GB, free: 10.98 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 (2): * Single equations (assignments): 2 * 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.0002169/0.5443, allocations: 135.2 kB / 0.8749 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.49e-05/0.5444, allocations: 12 kB / 0.8749 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5444, allocations: 3.938 kB / 0.8749 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.5445, allocations: 8.062 kB / 0.8749 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.5446, allocations: 12 kB / 0.875 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.5448, allocations: 56.98 kB / 0.875 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.545, allocations: 0.6809 MB / 0.8757 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.545, allocations: 0 / 0.8757 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.5451, allocations: 11.44 kB / 0.8757 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5451, allocations: 0 / 0.8757 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.002386/0.5474, allocations: 0.5645 MB / 0.8762 GB, free: 9.453 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)