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.8174/0.8174, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.00156/0.00156, allocations: 179.5 kB / 191.5 MB, free: 5.75 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.72/1.72, allocations: 223.2 MB / 447.7 MB, free: 6.547 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.001237/0.001237, allocations: 96.27 kB / 0.5188 GB, free: 2.895 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 272.3 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004579, allocations: 12 kB / 0.6929 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4264, allocations: 82.78 MB / 0.7737 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.6256, allocations: 108.1 MB / 0.8793 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.6259, allocations: 75.83 kB / 0.8793 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003386/0.6293, allocations: 1.252 MB / 0.8805 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6293, allocations: 0 / 0.8805 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6293, allocations: 0 / 0.8805 GB, free: 12.7 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.0002504/0.6296, allocations: 331.4 kB / 0.8809 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6297, allocations: 8.562 kB / 0.8809 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.6297, allocations: 3.984 kB / 0.8809 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.6298, allocations: 167 kB / 0.881 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.6298, allocations: 3.953 kB / 0.881 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.6298, allocations: 0 / 0.881 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.6299, allocations: 29.7 kB / 0.8811 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.6299, allocations: 0 / 0.8811 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.63, allocations: 0 / 0.8811 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.63, allocations: 0 / 0.8811 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.63, allocations: 4 kB / 0.8811 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.6301, allocations: 153.7 kB / 0.8812 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.409e-05/0.6302, allocations: 18.52 kB / 0.8812 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/0.6308, allocations: 445.5 kB / 0.8817 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.6308, allocations: 38.56 kB / 0.8817 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 3.928e-06/0.6308, allocations: 3.984 kB / 0.8817 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.6309, allocations: 29.7 kB / 0.8817 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.631, allocations: 51.41 kB / 0.8818 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.035e-05/0.631, allocations: 85 kB / 0.8819 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.631, allocations: 25.7 kB / 0.8819 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.6311, allocations: 84.12 kB / 0.882 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.6311, allocations: 4.062 kB / 0.882 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.6311, allocations: 7.938 kB / 0.882 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6312, allocations: 322.8 kB / 0.8823 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.6312, allocations: 0 / 0.8823 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/0.6313, allocations: 0 / 0.8823 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.547e-05/0.6313, allocations: 0 / 0.8823 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6313, allocations: 0 / 0.8823 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.459e-05/0.6313, allocations: 33.7 kB / 0.8823 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6314, allocations: 4 kB / 0.8823 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6314, allocations: 8.047 kB / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.6314, allocations: 0 / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.104e-05/0.6314, allocations: 4 kB / 0.8823 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6314, allocations: 3.984 kB / 0.8823 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.029e-05/0.6315, allocations: 0 / 0.8823 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.6315, allocations: 0 / 0.8823 GB, free: 10.56 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 () * 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 6.567e-05/0.6315, allocations: 105.8 kB / 0.8824 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.6316, allocations: 7.938 kB / 0.8824 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.6316, allocations: 48.72 kB / 0.8825 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6316, allocations: 3.953 kB / 0.8825 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.6317, allocations: 0 / 0.8825 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6317, allocations: 3.984 kB / 0.8825 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.731e-05/0.6318, allocations: 141.7 kB / 0.8826 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6318, allocations: 0 / 0.8826 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.6318, allocations: 4 kB / 0.8826 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.6318, allocations: 3.938 kB / 0.8826 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.6318, allocations: 0 / 0.8826 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6318, allocations: 4 kB / 0.8826 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6318, allocations: 3.953 kB / 0.8826 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.478e-05/0.6319, allocations: 69.09 kB / 0.8827 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.6319, allocations: 77.11 kB / 0.8828 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.6319, allocations: 0 / 0.8828 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.632, allocations: 0 / 0.8828 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.632, allocations: 3.953 kB / 0.8828 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.632, allocations: 0 / 0.8828 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.632, allocations: 75.28 kB / 0.8829 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.632, allocations: 4.031 kB / 0.8829 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002036/0.6322, allocations: 31.92 kB / 0.8829 GB, free: 9.883 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 () * 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.0002372/0.6325, allocations: 136.5 kB / 0.883 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.6325, allocations: 8 kB / 0.883 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6325, allocations: 0 / 0.883 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.6326, allocations: 7.938 kB / 0.883 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.361e-05/0.6326, allocations: 2.062 kB / 0.883 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.6328, allocations: 70.19 kB / 0.8831 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6331, allocations: 0.677 MB / 0.8838 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.6331, allocations: 0 / 0.8838 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.6331, allocations: 7.438 kB / 0.8838 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6331, allocations: 0 / 0.8838 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of Templates: time 0.00213/0.6352, allocations: 379.9 kB / 0.8841 GB, free: 8.551 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)